Reading in an array of text from a file?
Well, I've got single lines down, so I'm not a total failure here. However, I'm trying to read a 10x10 array of characters from a textfile into a 10x10 array of characters in a... char map.
Someone suggested using getline, 10 times, in a loop.
So, when the 10xtimes in a loop thing failed, I took the loop bit out and just tried reading in the first line of text.
cout << map;
cin >> hi;
Now, my understanding of the syntax is this: getline reads from mapFile, and puts the text into map, starting at *map, and reads in for... 10 characters in the text file. From my understanding, this should put the first line of the text file into positions  to  in char map.
Obviously my understanding is wrong, because I'm making this post. More specifically, I get blank output from cout << map. Which, from my understanding, should display the character in the array at position . I tested this by include map = 'a' right above the cout bit.
Er, yes, so I guess I'm wondering what I need to plug into getline to... get it properly reading my lines, or if that's the entirely wrong approach.