LinuxQuestions.org
Register a domain and help support LQ
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 885 Comments 0
« Prev     Main     Next »

  



All times are GMT -5. The time now is 05:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration