Posrting fstream from VC6 to Visual Studio 2005
Posted on 2007-03-22
Hi, I am trying to compile a working C++ file under Visual Studio 2005 (With SP1). It was earlier complaining about fstream.h. So I changed it to include <fstream> instead of the fstream.h. Now it gives me hundreds of errors like "Error 1 error C2146: syntax error : missing ';' before identifier 'source' etc at the line where I have declared ifstream and ofstream.
Any help is appreciated