Programming a graphics manager.

When I programmed one in C#, I simply used XML and read in the values, then accessed the graphics via a hashtable; Graphic player_graphic = GraphicsMngr["Player"];
I'm not quite sure how to handle this in C++. The first problem is that I have no clue how to program an XML parser, although I suppose I could try and find a 3rd party one. Hmm, anyway...
Regardless of all this, how are *REAL* graphic managers programmed?
I'm not quite sure how to handle this in C++. The first problem is that I have no clue how to program an XML parser, although I suppose I could try and find a 3rd party one. Hmm, anyway...
Regardless of all this, how are *REAL* graphic managers programmed?