Operator in fopen "./"

Hi,

I am going through a large amount of code and came across this line:

debugging=fopen("./debuggingtraj.txt","w");

and am searching for where this file might be located in relation to this .cpp file.

I have only ever used a ./ in context of running a script. Where does this place the file I am looking for?

Thanks in advance
. refers to the current working directory, which has nothing to do with the location of the executable file, let alone the source file.
Topic archived. No new replies allowed.