Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/31/09 18:01
Read: times


 
#168648 - As Erik says
Responding to: ???'s previous message
Nandhu Kumar said:
in keil i got error message

And so you would in any ANSI 'C' compiler!

What gave you the impression that this is valid 'C' syntax, anyhow?

As Erik says, the 'C' programming language does not have any way to directly enter numbers in binary notation.

But, if you search for keywords like "binary" and "macro" you will find plenty of "workarounds" - or just stick to using the notations that 'C' does support!

eg, see: http://c-faq.com/misc/base2.html


List of 9 messages in thread
TopicAuthorDate
How to assign variable with binary            01/01/70 00:00      
   that the C language do not have a binary            01/01/70 00:00      
   As Erik says            01/01/70 00:00      
      some no-that-ANSI compilers do support this or similar            01/01/70 00:00      
         May be, but...            01/01/70 00:00      
            I've found it            01/01/70 00:00      
               I had done it in asm            01/01/70 00:00      
                  and they say...            01/01/70 00:00      
                     Need to know C            01/01/70 00:00      

Back to Subject List