This class defines a very simple line oriented parser that tokenizes the data on each line while discarding comments. I created it because the need for parsing very simple files with comments came up over and over again but the traditional istream and fscanf approaches would not allow me to handle comments.
For more detailed information about the class and a chance to peruse the source, navigate to this URL: http://projects.joelinoff.com/simple_file_parser/DOXYDOCS/html/.
One thought on “Simple C++ text file parser class”
Leave a Reply
You must be logged in to post a comment.
This is a great site and I will add it to my blogroll. I just hope after you reach 1000, you continue…