I was wondering how do you go about converting a text file to a binary file? :)
Printable View
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.