cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
How to readline() from file, kind of FIL
How to readline() from file, kind of FILE
Nov 10, 2013 at 7:48am
Nov 10, 2013 at 7:48am UTC
sonhaxatacmoi
(5)
How to read a line?
1
2
char
* file_name = (
char
*)
"input.txt"
; FILE* f = fopen(file_name,
"r"
);
Nov 10, 2013 at 7:59am
Nov 10, 2013 at 7:59am UTC
Chervil
(7320)
fgets
http://www.cplusplus.com/reference/cstdio/fgets/
Topic archived. No new replies allowed.