I am learning C, and:
I see a way to delete a file
remove (f_name);
a way to rename a file:
rename(old_f_name, new_f_name);
but I cannot find a way to copy a file. Can this be true?
copy(old_f_name, new_f_name); //gives an error.
Must I write a routine to open the file, read through it's contents, and write it?
Thanks, Mark.