----- Original Message -----
From: Nichole Bialczyk <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 01, 2001 9:30 PM
Subject: append a file to another file
> i understand how to open and create files, but let's say that i want to
> open several files and insert them all into one large file. how would i
> do that?
>
> thanks, nichole
If you want to do this in one run of the program, just open the file where
all the other files should go in at the start of your program.
Then open each file you want to add to the main file, read it and print to
the target file.
At the en close the output file.
If you are on unix, you might consider using a shell command for that.
Maarten.