Last edited on
What is "string" in that line of code?
If that's supposed to be a std::string then I think you need to reread the tutorial articles on this site, and read through the information on std::string, strncmp, etc. and then try again.
Never mind, I figures it out and string was supposed to represent a blank thing a.k.a. something that you can't write an ifr statement for.