monkeydragon wrote:
Which is better, using ReadFile/WriteFile or use fstream?
Well, the answer for this newsgroup would be fstream, since the other
doesn't exist.
On some systems, there might be something called "ReadFile" and "WriteFile",
but those are not portable. OTOH, they might offer more functionality than
the standard fstream, which is designed as the greatest common denominator
of all the systems that a C++ compiler is available for.