Until now, you have worked with string constants such as cout<<"hello World\n";. If you want to input, manipulate and output string, the string class provides a number of built-in functions that make string processing easier.