I am attempting to parse a ini file but I can't seem to find the commands I can use.


Code:
section main { //the start

/////////////////////////////////////////////
// MAP SETTINGS
//
/////////////////////////////////////////////

	ShowThingsOnMap="TRUE"; //show stuff 
	ThingsAttributes="TRUE"; //prints stuff
	FlyingThings="TRUE"; //prints small squares for all missiles
	ShowBigThingsNames="TRUE"; //prints boss stats
} //the end
That is a sample part of the INI (with values/variables changed). My problem is finding the right functions and how to pass the right variables through them. I searched the net, and couldn't find anything on parsing text files, just writing to them and reading from them. And how to move the pointer in the file ahead a certain number of places.