I've been fiddling through some tutorials about printing the contents of a file to the screen but when I try using commands they get stuck.
I put this code in but it wont have it
fprintf(fp,"Contents of the file:\n");
The file1.txt is stored on a server and im using unix terminal.
I don't get a compiler error but the contents will not appear on screen.
It is in a program that works without printing the file contents so I have included everything else necessary I just need to correct these lines of code!
Thanks for the help!