identifier “string” undefined?

<string.h> is the old C header. C++ provides <string>, and then it should be referred to as std::string.

Leave a Comment