i have been working on this problem for last 2 days but i think i need someones help
so here's my problem . . .
i want to read a character from a file, convert that into a string of 0's n 1's; store them into an array binary[8] and write them to another file.
then read the second file which contained the binary code of the file an convert it back to its exact original form . . . . but how?
n one last question what does this mean a bit or a byte :
fstream cfile("abc.dat");
char O = ' 0 ';
cfile<<O-48;
cfile.close();
I m working on c++ 3.0 compiler