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
how to translate EOF from C programing t
how to translate EOF from C programing to C++
Jun 7, 2015 at 11:55pm UTC
song856854132
(1)
Please help me, I have search it on internet, but most of it I really don't understand. I just want to do end of file. In C programing way, you just type in while(scanf("%d",&i)!=EOF), but what do you do for C++ for the same way?
Last edited on
Jun 7, 2015 at 11:55pm UTC
Jun 8, 2015 at 12:01am UTC
cire
(8284)
So, you want to know how to create an infinite loop in C++?
Jun 8, 2015 at 4:31am UTC
closed account (
48T7M4Gy
)
http://www.cplusplus.com/reference/ios/ios/eof/
Topic archived. No new replies allowed.