Thread
:
representing binary values
View Single Post
•
•
Join Date: Dec 2005
Posts: 5,850
Reputation:
Solved Threads: 751
Salem
Offline
Void main'ers are DOOMed
Re: representing binary values
0
#
2
Nov 16th, 2007
In octal, it would be
unsigned char foo = 032; // a leading zero.
You can't specify binary constants in standard C, though some compilers designed for small embedded processors do as an extension.
Salem
View Public Profile
Find all posts by Salem