#include #include using namespace std; void TellAboutString(string word); void MessWithString(string & word); //int NumberOfLetters(string word); int main() { string one; string two = "a"; string three = "a b c"; TellAboutString(one); TellAboutString(two); cout << "two = \"" << two << "\"" << endl; TellAboutString(three); cout << endl << endl; cout << " three is " << three << endl; MessWithString(three); cout << " three is " << three << endl; return 0; } void MessWithString(string & word) { word = "I have been messed with"; return; } void TellAboutString(string word) { cout << "\tThe string is \"" << word << "\"" << endl; cout << "\t\tThat string is " << word.size() << " characters long" << endl; word = "hello world"; cout << "Word is now " << word << endl; return; }