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