SyntaxFix
Write A Post
Hire A Developer
Questions
std::getline( stream, where to?, delimiter ie
std::string in; std::getline(std::cin, in, ' '); //will split on space
or you can read in a line, then tokenize it based on whichever delimiter you wish.