cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
How to take a input from keyboard using
How to take a input from keyboard using fgets and atoi?
Oct 12, 2014 at 10:10pm UTC
JackieCho
(22)
Intead of using scanf("%d",&a) to take a input from the user,how to take a input using fgets(buffer, BUFFERSIZE , stdin) and atoi?
Could anyone show me an example? Thanks
Last edited on
Oct 12, 2014 at 10:57pm UTC
Oct 12, 2014 at 10:52pm UTC
JackieCho
(22)
The inputs are all integers.
Topic archived. No new replies allowed.