WaltP
Posting Sage w/ dash of thyme
11,404 posts since May 2006
Reputation Points: 3,421
Solved Threads: 1,055
Skill Endorsements: 37
Write a couple test programs to understand how input works.
1) use cin in a loop to read and display what is read
2) use getline() in a loop to read and display what is read
3) same with other input commands you know
WaltP
Posting Sage w/ dash of thyme
11,404 posts since May 2006
Reputation Points: 3,421
Solved Threads: 1,055
Skill Endorsements: 37