I am try to use an ifstream with the while loop to get each value. However, when I try it, nothing happens. Why?
ifstream
std::string line; std::getline(cin
You must use an istringstream, not an ifstream.
istringstream