Hi,
I'm using the VC++ 6.0 compiler and am getting numerous error messages when trying to pass a string as a parameter to a constructor. I've tried a small test and I still get the same error:
#include<string>
class MyClass
{
public:
MyClass(const string &fileName); // error here
}...
Hi,
I have a program which uses the max() and min() functions from the STL. The program compiles and runs under Unix using the g++ compiler; however, when I try to build it using Visual C++, I get a C2065 error message, which says " 'max' : undeclared identifier".
I have used the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.