Hello!
I have small problem. I have char array which contains e.g. "10010010100010110" and I want to read/write it from/to file in binary mode. How can I convert my char array to a group of bits and how to write/read it to/from file?
I need something like this:
1. I have char array = "101010" => convert to bits - 101010 => write bits to file in binary mode
2. Read bits from file => convert to char array.
Thanks in advance!