I'm making a source file that is supposed to take in 2 directory paths (one in and one out). Then copy the specified file from one directory to the other. I've completed the code, except when I compile it, it prints:
warning: passing argument 3 of ‘fread’ makes integer from pointer without a cast [enabled by default]
This is the part I'm having issues with (I think):
if (fp_in != NULL && fp_out != NULL)
{
char line[BUFSIZ];
while (fread(line, sizeof line, fp_in) != NULL)
...