Please excuse me if this has already been covered before.
I'm a C++ beginner, and in of the problems I have to do, the input has to be like this:
1) A number n is entered.
2) n number of strings are entered.
I tried using a 2D character array to do the above, but it doesn't work. I have to hit the return key after each letter of each string. Could anyone point me to a method where I can *declare* n number of strings, where the user inputs number n?
Thanks for your time. :)