Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #107.55K
~13.2K People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for Narue

have you tried cin.ignore(); here's an example [code=c++] #include <iostream> using namespace std; int main(){ int num = 0; //literal output cout << "enter a number"; //input from keyboard(includes /n when enter is pressed) cin >> num; //variable output cout << "you entered: "<< num; //pause so output can be …

Member Avatar for Smn
18
13K

The End.