Below I list a simple change that was necessary, but took me lots of time to figure it out:
Where before was:
#include <fstream.h>
Now must be:
#include <fstream>
using namespace std;
So, if you try to compile code in MS VC++7.1 that uses fstream don't forget to specify the namespace you are using. I hope this helps you save precious time.
No comments:
Post a Comment