DEV Community

Discussion on: Interesting C++ bug involving `std::cin` for input.

Collapse
 
baenencalin profile image
Calin Baenen

When I try std::getline(std::cin, answer), it doesn't work, it just acts as if there was no call made to getline, or to std::cin.