[Solved] c++ string (nub warning)
Change your include to #include<string> The string.h contains functions to manipulate string, but not the std::string class. #pragma once Is to prevent headers for being included more then once, leading to duplicated symbols. In C++, #include means the compiler just replaces the #include with the contents of the file included. Imagine you have A.h which … Read more