Replaced line buffer by an std::string.
The line buffer is no more a pure character array but a standard string. For reading lines from the input stream we use the higher level std::getline() function which takes care of overflow issues. Side improvements: String comment prefixes are now supported. Other changes: added `-pedantic' to the compilation flags, to force strict C++11 compliance.
Please register or sign in to comment