|
CS256 - Fundamentals of Structured Programming
| Displaying exercises/e9/files/f3.c
#include <stdio.h>
/**
* Make the program take two filenames on the command line. Print the usage
* message "f3 <filename> <filename>\n" if not enough command line parameters
* are provided.
* Open the first filename for reading and the second filename for writing.
* Copy the contents of the first file into the second file. It would
* probably be easiest to do this one character at a time, using fgetc and
* fputc.
*/
int main(int argc, char *argv[])
{
return 0;
}
|