What do we have to do before using C++ string ?
Nothing, they are part of the standard library
Use using std::string; in the header
using std::string;
Use #include<string> in the header
#include<string>
Combine the two previous answers