I need to read the contents of a .txt file with the read function (at least, that's where I've begun), and then write them to another file. I don't really understand how read() and write() work, specifically which arguments to pass them. Can anyone shed a little light on this?
Thanks!
How does the read() function work in C++?
Good tutorial on i/o files
http://www.cplusplus.com/doc/tutorial/fi...
Reply:It reads the data from an I/O stream into memory.
- Void
jasmine
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment