I have a problem, learn from the book, there is a challenge:
type the words translate to upper case, fill the vector and display of eight words in the string. Actually all did except the last (eight words per line). Help please. :)
Instead of using the range-based for loop on line 23, use one with a counter so you can output '\n' every 8th word instead of always a space. In other words, something like:
23 24
for (unsignedint i = 0; i < vsstr.size(); ++i)
// ...