When running an executable, relative paths are relative to the directory the executable is launched in, not where the executable is. This means that any resource I'm loading can only be found if I launch the app from the directory it is in. What's the best way to go about that in C/C++, in order to be able to run the executable from any directory?
Do I have to save the executable's absolute path upon first launch and append it at the beginning of every relative path?