Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Ipito
  • Order by date
  1. Ipito

    Problem using strings in a constructor

    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 }...
  2. Ipito

    Visual C++ not recognising min() and max() functions in the STL

    I never downloaded any service pack. I just have VC++ 6.0. I usually use g++, and I'm fairly new the VC++ compiler. I tried the code fragment above witht the added define statement, but I still get the same error message (C2065).
  3. Ipito

    Visual C++ not recognising min() and max() functions in the STL

    Thanks. I tried the code fragment you advised, and it still generates the same error message when I try to build the project. I then tried using the adding the scoping operator std::, and it gives the additional error message "error 2039 : 'max' is not a member of the std". I'm also using VC++...
  4. Ipito

    Visual C++ not recognising min() and max() functions in the STL

    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...

Part and Inventory Search

Back
Top