Click here to Skip to main content
15,913,055 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In C++ how can I make the program know if the input is an integer?

For example if the program asks for an integer or number from the user and the user types: 23ddas.

Then I want to respond: Please Enter An Integer Number.
Posted
Updated 1-Nov-12 8:32am
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900