Perhaps #include <string> Perhaps say std::string cdtype; One thing you must NOT do however is be tempted to putting using namespace std; inside your header files, because you're too lazy to type std:: a few times.
Anyone including your file would then get the whole std namespace thing whether they wanted it or not. And if they didn't want it, then there would be no way out for them but to send you a bug report to fix your header file.
Nm, I got it. Thank you anyway. Oh, and thanks for the namespace tip, I learned that the hard way already...lol. Now I use it while I"m building, but then go back and replace it with the appropriate std:: lines