How to scan several strings with spaces? [duplicate]
I want to scan words separated with spaces and written on several lines. I don't know the amount of words in advance. And I want to create std::vector of std::string. How to define the end of an input?
Aucun commentaire:
Enregistrer un commentaire