I need to error check a user input and it must be a value between 0 and 13 whole numbers only. it will be stored in a int variable using the cin function. I dont remember how to do this since i have not taken a c++ course in 3 years. This assignment is using top down progamming, not object oriented programming.
gmoli
0
Newbie Poster
Recommended Answers
Jump to Postperhaps this will help jog your memory
Jump to Postwhen/if you paste any of your code in a reply you need to do it like this
[code.]
\\code goes here
[/code.]
of course, you want to take out the '.' after the word code which makes your reply look like this:
#include …
All 5 Replies
Duki
552
Nearly a Posting Virtuoso
gmoli
0
Newbie Poster
Duki
552
Nearly a Posting Virtuoso
gmoli
0
Newbie Poster
Duki
552
Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.