edarcy 0 Newbie Poster

Hi,
I am creating a project which is a remake of a game so I want to be able to read a map from a Notepad file and store the location and character in the file so I can place a selected image in the location on the grid that I have already ceated.
My text file looks like this:
8,8
00111000
00131000
00101111
11120231
1302c111
11112100
00013100
00011100

The "8,8" is the size of the map. In my game, the player gets to choose the character that they will use (the character is represented in teh text file with a c). Each 0 represents an image in my folder called "0.bmp" and 1 represents "1.bmp" and so on.

For what I want to do, I was thinking I might have to read the file into a 2-dimensonal array but I am not sure how to get around this or my general problem.

How can I read this text file so that I can place a particular image in the certain co-ordinates? Can you please also write code to do so as I have no idea of even how to start this, even if it will include 2d arrays.

Thank you.