Hello. My assignment is to read in from a .txt file two things: an integer and a string. After reading in these 2 items I have to put them into a 10x10 2D array so that both the number and the character can be manipulated by the user. Here are the contents of the text file:
One number and one character need to be assigned to each element of the array. I know exactly how to fill a 2D array when it's just numbers, but the characters and the commas are giving me a lot of trouble. Any tips on how I can do this?