¡@

Home 

c++ Programming Glossary: clearline

C++ cin.fail() question

http://stackoverflow.com/questions/2032719/c-cin-fail-question

functions to make this easier you'll be interested in clearline in particular which clears the stream state and the current.. example of what you want . Your code more or less using my clearline #include clinput.hpp move my file to a location it can be used.. to EOF exiting. n return 1 cerr Input failed try again. n clearline cin cin clearline is identical return 0 There is still a potential..