I am trying to read a file which I read previously successfully.
I am reading it through a library, and I am sending it as-is to the library (i.e. “myfile.txt”).
I know that the file is read from the working/current directory.
I suspect that the current/working directory has changed somehow.
How do i check what is the current/working directory?
Since you added the visual-c++ tag I’m going to suggest the standard windows function to do it. GetCurrentDirectory
Usage: