c file handling problem

hi
I'm new to c .i just want to know how to add two file . i have two file ram.txt and another one is sham.txt . i want to add these two file using c program can you explain me how i can do this ? ok one way possible is merge two files in to single file and renaming it and deleting olad files . but i don't want to do this in this way.
can anyone tell me hoe c implement the append mode ?
is there any command whic can add these two file .
You can use the ios::app flag to append. Anyway, have you read the file IO section in the tutorial [http://cplusplus.com/doc/tutorial/files]?
Topic archived. No new replies allowed.