What you ask for is called parsing
) XML file. If you want to study first, then consult with Wikipedia and MSDN (DOM or SAX)
. If you need an implementation (code to use in your application) always search Codeproject.com (for something like "parsing XML in C/C++" in this case).