I am programming using Visual studio C++, doing some win32 console application simple programs.
I am upgrading to visual studio 2008, and I cannot compile programs in C++ done with previous versions (6.0) because I always get a compiler error. For instance, if I write:
ifstream f("file.txt")
then the compiler tells me: "ifstream: undeclared identifier", although I have included fstream header file.
I am also having problems with two classes that I defined as "friends", but the compiler does not let me reference private members of one another...
Could someone tell me what to do?
Thank you.