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

Back to Subject List

Thread Closed: Off-topic

???
08/18/03 09:02
Read: times


 
#52769 - initialize variable with binary value?
hi all
it may seem very easy but i can't initialize
my code constants with binary value in c51
ver 3.20 franklin DOS version i want to:
code char bin_code[3]={
0b1100110011,0b1111110011,0b1100111011};

but compiler doasn't accept.
any one can help me?

List of 12 messages in thread
TopicAuthorDate
initialize variable with binary value?            01/01/70 00:00      
   RE: initialize variable with binary value?            01/01/70 00:00      
      RE: initialize variable with binary value?            01/01/70 00:00      
   RE: initialize variable with binary value?            01/01/70 00:00      
      Not in C!!!            01/01/70 00:00      
      RE: initialize variable with binary value?            01/01/70 00:00      
         RE: initialize variable with binary value?            01/01/70 00:00      
            RE: initialize variable with binary value?            01/01/70 00:00      
            RE: initialize variable with binary value?            01/01/70 00:00      
               RE: initialize variable with binary value?            01/01/70 00:00      
                  RE: initialize variable with binary value?            01/01/70 00:00      
                     RE: initialize variable with binary value?            01/01/70 00:00      

Back to Subject List