I was wondering how do you go about converting a text file to a binary file?![]()
This is a discussion on coverting text t binary files within the C++ Programming forums, part of the General Programming Boards category; I was wondering how do you go about converting a text file to a binary file?...
I was wondering how do you go about converting a text file to a binary file?![]()
IS it possible to read the text data and then output the data to a binary by writing actual bytes?
yes.use an ifsteam to read the text file, then use an ofstream to "simultaneously write the material to a binary file with ios::binary.