Closed larku closed 9 years ago
This commit replaces a call to fflush(stdin) with std::cin.ignore() since calling fflush on an input stream is undefined behaviour and should be avoided.
This commit replaces a call to fflush(stdin) with std::cin.ignore() since calling fflush on an input stream is undefined behaviour and should be avoided.