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