how to deal with bits

  • Thread starter Thread starter cedar chak
  • Start date Start date
C

cedar chak

ascii decimal binary
0 48 00110000
1 49 00110001
.... ... ...
9 57 00111001

My problem is:
when i get a serial numbers,i wanna to remove 00 from left
of each binary value and save them as following:
before saving saved
00110000,00110001 110000110001
 
Back
Top