Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Reading numbers with FOR loop solved: New problem emerges
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Old Wolf, post: 2860545"] That's not very helpful either. You should say: - what input you provided - what output you expected - what output actually happened So you ask for the months twice in a row, and still do not bother to check what they typed in for the second one. You have to check the result of every input (user input and file read) to check that it was successful, and that it was what you were expecting. If you are getting strange behaviour then try to print out exactly what the inputs read; it might not be what you thought. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Reading numbers with FOR loop solved: New problem emerges
Top