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
problem with scanf
problem with scanf
Nov 3, 2008 at 4:34pm UTC
yandreiy
(7)
hey guys,
how do i read for an integer, and if i input a character, my program does not crush?
thks
Nov 3, 2008 at 4:46pm UTC
Scipio
(446)
http://www.augustcouncil.com/~tgibson/tutorial/iotips.html
Good link. Hope it helps
Nov 3, 2008 at 5:05pm UTC
yandreiy
(7)
ok, thks a lot for the link
one more question :
what is the equivalent in c++ for the 'fflush(stdin)' ?;
Nov 3, 2008 at 5:30pm UTC
jsmith
(5804)
cin.flush();
Topic archived. No new replies allowed.