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 16:38
Read: times


 
Msg Score: -1
 -1 Didn't Search First
#168645 - How to assign variable with binary
Hai

When i tried writing this code

char abf = 10101010B ;
 


in keil i got error message

error C141: syntax error near 'B'
 


What is the problem

Thanks
Nandhu

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