Originally Posted by
cpjust
No, you declare them in the header.
I noticed you use string a lot in the header & .cpp files. Since you didn't put using namespace std; in the header (and you should NEVER EVER do that anyways) the compiler should be saying it doesn't know what string is.
Change string to std::string in all places, since it's in the std namespace.
BTW, what compiler are you using?
If it's VC++, make sure all files are part of the Project.
If you're using a makefile, make sure you're compiling both .cpp files and linking them both into the final executable.