// String Tester - Demonstrates String Objects #include #include using namespace std; int main(){ string word1 = "Game"; string word2 = "Over"; string word3 = "!"; string phrase = word1 + " " + word2 + word3; cout << "The phrase is: " << phrase << "\n\n"; cout << "The phrase has " << phrase.size() << " characters in it.\n\n"; cout << "The character at position 0 is: " << phrase[0] << "\n\n"; cout << "Now changing the first character.\n"; phrase[0] = 'L'; cout << "The phrase is now: " << phrase << "\n\n"; for(int i=0; i