B
Bruce Lee
Hi
I have the following 2 questions:
1.How to write binary data to a text file in C? I have a number like
10001010110001 say, I need to put it in the text file so that I can see
the corresponding characters when I open the file.
2. How to extract bits from a byte. I think it is using bit operations,
but for example, how would I extract the 2nd most significant bit in a
byte?
Thanks
Bruce
I have the following 2 questions:
1.How to write binary data to a text file in C? I have a number like
10001010110001 say, I need to put it in the text file so that I can see
the corresponding characters when I open the file.
2. How to extract bits from a byte. I think it is using bit operations,
but for example, how would I extract the 2nd most significant bit in a
byte?
Thanks
Bruce