Quote:
Seeing as it's C++ you may also want to try "g++"
|
Thanks for your suggestion. I tried g++ and it worked perfectly.
Quote:
Post code please. I think by looking at the errors that you are missing the std:: scoping of the STL stuff. The evils of newbie books doing "using namespace std" strikes again!
|
Thanks for your reply. No, I am not "using namespace std": I use std::list<MyClass> and std::list<MyClass>::const_iterator, and use only the default constructor and the push_front member functions. It appears to me that there is a missing library, but I can't figure out why the default libraries are not sufficient. As noted above, g++ apparently has no problem with the code, so my immediate problem is solved.