How do I change the content of a file

Hello,

I have always wondered how do I change the content of a file using a c++ code. Can anyone tell me how?

Thanks in advance.
http://www.cplusplus.com/doc/tutorial/files/

that's good to read if you are wanting to mess with text files or binary.
Topic archived. No new replies allowed.