Search:
Forum
Beginners
Input from a file
Input from a file
Nov 22, 2015 at 6:06am UTC
zaryabsaeed
(23)
Hi, is there a way I can read/write from/to a specific line in a file?
Nov 22, 2015 at 8:34am UTC
Peter87
(11238)
The easiest way is to read the whole file, line by line, do the changes, and then write it back to the file again (overwriting the old file).
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs