Parsing flat text file and store the data in data structures?

Hie,

Can anyone suggest me how to parse a flat text file which contains location values and store them in a data structure.??

Do you want to do this on the player’s machine or in the server where the game is served from?

from the server it self.When game loads the text file with locations will be added and call to parse the text should be given and when parsing is done i should be able to store them in data structures and compare the values with data structures rather than hard coded values for location in mouse up and mouse down events.

I haven’t tested this yet, but take a look at this thread: