Hello, I'm having trouble trying to read in input such as this:
3 4
abcd
efgh
ijkl
And then placing it into a 2D array. The 3 and 4 are the number of rows and columns. Any ideas on how to go about doing this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.