Easiest way to get words of one line from istream into a vector?
istream has the >> operator, but it skips new lines like it skips whitespace. How can I get a list of all the words in 1 line only, into a vector (or anything else that\'s convenien开发者_运维技
问答
阅读(28384)
精彩评论