I'm curious as to whether there is a way of saving binary files using C++ rather than text files. I'm thinking of something along the line of:
outbinfile << unique_variable;
and then later unique_variable >> inbinfile;
This way when you look at the file using a text editor it is just garbage. I know Java has this feature, is it possible with C++? I don't want to get into serialization in VC++. Any help or sample code would be greatly appreciated. Thanks.