int main(int argc, char *argv[]) { string str = "Hello World!"; cout << str << endl; str.append(" How are you?"); cout << str << endl; str = "Hello Wordl!"; str += " How are you?"; cout << str << endl; }