add
cin.seekg(0,ios::end);
between
cin >> choice and cin.getline()
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 10 of 10
Thread: flushing input buffer using cinThreaded View
|
Click Here to Expand Forum to Full Width |