Well.. that depends, you can open a file in binary or non-binary mode.
I supose you want to open the files in binary mode, yes? Annyway
----------------------------
#include<fstream.h>
void main()
{
fstream filestr;
filestr.open ("test.txt", fstream::binary);
}