cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Not allow user to input string
Not allow user to input string
Jul 11, 2010 at 1:24pm UTC
aladar04
(7)
Hi!
Can you show me an example of code that doesn't allow user to input string or char when program asks for an int? Simple code is better. It is easier to comprehend. Thanks a lot in advance.
- aladar04
Jul 11, 2010 at 1:29pm UTC
Bazzy
(6281)
http://www.cplusplus.com/forum/articles/6046/
Jul 11, 2010 at 1:37pm UTC
aladar04
(7)
or program returns an error message when user inputs string or char when it asks for an int...
Jul 11, 2010 at 1:46pm UTC
aladar04
(7)
thanks a lot Bazzy. I didn't notice your reply. Thanks a lot anyway.
Topic archived. No new replies allowed.