Thread: Binary numbers
View Single Post
Re: Binary numbers
Old
  (#8)
Cheeseh
[rcbot]
 
Cheeseh's Avatar
 
Status: Offline
Posts: 361
Join Date: Dec 2003
Location: China
Default Re: Binary numbers - 02-04-2004

<background reading>

some C compilers allow this some don't, I don't know about MSVC 6.0... but some compilers might allow binary numbers to be declared like this (e.g. those similar GCC)

0b<binary number>

MS c++/c# .Net might allow binarys like this

<binary number>B

that doesn't work on MSVC 6...

(we are looking for pre/postfixes on numbers e.g. 0x for hex, 0 for octal 0.0f for float etc, what's the one for binary???)

Last edited by Cheeseh; 02-04-2004 at 13:45..
  
Reply With Quote