Here is what I have to do:
Read some text into a vector, storing each word in the input as an element in the vector. Transform each word into uppercase letters. Print the trans- formed elements from the vector, printing eight words to a line.
Here is what I have so far. But I cannot get the program to stop. I am trying to get the program to terminate after a user inputs DONE.
it works, its just not reading s the way you think it should, try getline instead. I don't have time to look right now, you can fix it with stream commands too; there are several posts on it here, or I will try to get back to it in a couple hours.
Thank you for your help. I have removed the for loop before my while loop. It's still not doing what I need it to do. Do you have time to look at it now?