How can I make a program read, receive and work with onfo from a file (Get the program to do some basic operations) and get that to another file? Please just give me the hint, I know obviously the file has to exist, that is I have to create it...
Printable View
How can I make a program read, receive and work with onfo from a file (Get the program to do some basic operations) and get that to another file? Please just give me the hint, I know obviously the file has to exist, that is I have to create it...
Hint:
#include <fstream.h>
Check out the tutorial and the Programming FAQ
You are asking a broad question, so its hard for someone to give a direct simple answer. Study-up on file I/O. Write some code. Then, if you are having problems getting your code to work, post your code with an explanation of the problem you are having.