Quote Originally Posted by laserlight View Post
you should #include <string>, not <string.h> since you are using std::string instead of the string functions inherited from C (in which case you should #include <cstring>). Also, you should remove the using directive at file scope (using namespace std; ) from the header file.

I know, I just hadnt got around to updating the files yet (but thanks for reminding me)

Dave.