Quote:
|
Originally Posted by Mike Betts
I'm 1200 miles from my K&R right now...
0b11011010
should be equivalent to
0xDA
|
That's what I thought at first too, but gcc didn't seem to like it, and I found several discussions on some C newsgroups that suggested that binary constants aren't officially part of the language. However, I just checked it and MCC18 seemed to take it...
My advice still applies though: get used to hex, it's what everyone else uses
