use string in header file c++ code example Example: name of header file of string library c++ #include <string>