Hello, I would like to know if there is a pragma that can tell the working directory for the current file. I know that there is a defined macro called "__FILE__", which returns the source's filename with path. But is it possible to get only the directory without the file's name?
Ex: "C:\MyFolder\File.cpp" would return "C:\MyFolder"
I know I can probably solve this using substrings with a String class, but in my case I have to use it for a #define.