All a config file need be is a simple text file with the values stored in it that your program will use.
The program will open the file, read and heed the values. If the user wants to change those values through the program, then it will have to also write the changes to the file.
Beyond that, it contains whatever you want or need.
vmanes
Postaholic
2,015 posts since Aug 2007
Reputation Points: 1,283
Solved Threads: 242
Skill Endorsements: 6
you could simply read through the file, line by line, not doing anything with the data you don't need at the moment.
If your file is formatted with every line exactly the same length, you could perhaps use the seekg( ) method to jump around to where a given line begins.
vmanes
Postaholic
2,015 posts since Aug 2007
Reputation Points: 1,283
Solved Threads: 242
Skill Endorsements: 6
Question Answered as of 4 Years Ago by
vmanes,
jen140
and
nucleon