>> I want to know how to do binary reading/writing in cpp.
I have never needed to use it, but there is a binary flag in IOS....
so it would probably be somthing like
Code:
ofstream outfile ("out.bin", ios:: out | ios::app | ios::binary);
ifstream infile ("in.bin", ios::in | ios::binary | ios::ate);
you should search on streams before using this as I never have