LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs > entz
User Name
Password

Notices


Rate this Entry

found cin.getline solution

Posted 03-28-2007 at 04: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 940 Comments 0
« Prev     Main     Next »

  



All times are GMT -5. The time now is 05:42 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