C++:Simple program using 2d arrays?

Solved
Last edited on
In your "else", it should be
1
2
whichWord++;
wordIndex = 0;

and not
1
2
wordIndex++;
wordIndex = 0;
Topic archived. No new replies allowed.