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.
I looked at the tutoral and have not seen anything about error checking i think I have the basic concept of c++ I have completed the top down course at my school. I am now enrolled in opject oriented programing class. My first assigment is a review from my last class and my notes on error checking are terrible. that is my fault but i dont have anything to look at to see how to set this one up. any help you can give would be greatly appriciated. I am not sure what this text box means by surround code could you briefly explain this to me as well. this is the first time i have ever posted a thread. thankyou soo much.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.