DaniWeb Forum Index
>
Search Forums
Search Results
•
•
•
•
Showing results 1 to 1 of 1
Search took
0.01
seconds.
Search:
Posts Made By:
Bhoot
Save these search results for 24 hours
Forum:
C++
May 13th, 2009
Replies:
7
Solved:
cin.getline() question
Views:
327
Posted By
Bhoot
Re: cin.getline() question
You could be facing the problem at either of these lines :
cin >> User;
cin >> option;
Most probably, they would leave a newline behind, in the input stream. Hence, the first getline() used...
Showing results 1 to 1 of 1
Latest Posts
Today's Posts
All Forums
Unanswered Threads
All Forums
Related Forum Features
DaniWeb News Stories
DaniWeb Code Snippets
DaniWeb Tutorials
DaniWeb Product Reviews
DaniWeb White Papers
Forum Search
About Us
|
Contact Us
|
Advertise
|
DaniWeb
|
Acceptable Use Policy
|
©2003 - 2009 DaniWeb® LLC