samedi 2 novembre 2019

For std::istream::ignore, could you set it to skip an infinite number of characters until delim is reached?

I need my program to delete comments from the text, however, since comments could be pretty long, it would be hard to determine the right value for the count. Is it possible to use ignore() in this way, or should I look for another function?

Aucun commentaire:

Enregistrer un commentaire