Consider a line of simple C code:
fopen("C:\\project\\test1.dat","r");
it "directs" the program to the directory where it can find the file from which it will read.
My question is under what circumstances, I may write
fopen("test1.dat","r") instead?
Does the program need to be in the same folder / directory as test1.dat?
Thanks