If all you want to do is read every byte from an input-source to
an ofstream, this should work:
I'm missing out some very important functions; before you useCode:ofstream outputFile("ResourceGroup"); ifstream inputFile(inputString.c_str(); outputFile << inputFile.rdbuf();
fstreams, use the member function is_open to make sure they
opened successfully.
--Paul




Reply With Quote