Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Conversion from 6 to 8 bit string (http://www.go4expert.com/forums/conversion-6-8-bit-string-t5635/)

Patricia 3Aug2007 10:18

Conversion from 6 to 8 bit string
 
I have recently started on a new project and I admit I am pretty shaky with C as most my experience is at a higher level. What I am struggling on is that I apparently need to convert this string from 6 bit chars to 8 bit chars. I know that there is shifting involved, but I am not really sure where to start. Any tips or advice?

Thanks!

Patricia

DaWei 3Aug2007 18:53

Re: Conversion from 6 to 8 bit string
 
Yes. Give more information. Are the 6 bit chars packed into longer entiies? Are they a different code? Information is key. We cannot read your mind.


All times are GMT +5.5. The time now is 01:59.