LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs > entz
User Name
Password

Notices


Rate this Entry

found cin.getline solution

Posted 03-28-2007 at 05:25 AM by entz

used: cin.ignore(std::numeric_limits<std::streamsize>::max(),'\n');
in conjunction with cin.clear() (very important!)


Posted in Uncategorized
Views 1033 Comments 0
« Prev     Main     Next »

  



All times are GMT -5. The time now is 03:26 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration