I need to write a simple archiving program in C. It must be able to read in one or more files and output them in a single file. I must then be able to extract the files to the same directory as they were in before. I am able to read files using 'read' and 'fread' and also write files, but i can only do these things with one file at a time.
Any help would be greatly appreciated
Thank you