I\'ve got a two-dimension string vector that I need to print out. The whole program should read a line from a txt file, store each word from it as a different element and th
I would change it to the following:
for (int i = 0; i < vec.size(); i++) { for (int j = 0; j < vec[i].size(); j++) { cout << vec[i][j]; } }