Textbook problem involving strings and vectors

Hello, in the textbook called "C++ Primer" there is an exercise that I am having
trouble with.
The problem is stated as such:
"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 transformed
elements from the vector, printing eight words to a line."
I don't know how to store individual words as the elements of a vector. So I am
hoping someone could help me with the first part of the problem. Thank you!

This will read a word.
1
2
std::string word;
std::cin >> word;
Topic archived. No new replies allowed.