Linking images to variables
Hey everyone hopefully someone can help me out here... basicly I'm trying to make a tilebased RPG where its all based on an array. What I want to be able to do is fill the array with letters and link every different letter to a seperate image. For example
A B A C
B B A C
B A A C
B A A C
where B could be the picture of a path
where C could be the picture of a mountian
where A could be the picture of water
I'm pretty stumped as to how I should do this... I've never loaded an image into a program using C++ before and I can't seem to find any tutorials telling me how to (btw this is to be run in DOS not windows). Besides even if I could figure out how to load images I dont thinK I'd be able to figure out how to link them to a variable. So any helpful links, tips or code snippets you guys could supply me with would be very helpful.
Thx in advance!