Thread: binary in C
View Single Post
  #6   Spotlight this post!  
Unread 11-11-2005, 20:11
ghansel ghansel is offline
my amp goes to eleven
AKA: George H.
FRC #0019 (Big Red Robotics)
Team Role: Engineer
 
Join Date: Jan 2005
Location: Connecticut
Posts: 38
ghansel is infamous around these parts
Re: binary in C

0b should work. It's not ANSI C, but many compilers understand it. gcc compiles it fine. Dunno about C18 - I usually go out of my way to avoid binary.

http://refcards.com/refcards/c/c-refcard-letter.pdf

George