I need to access some files with fstream
in my C++ app on Windows. Those files are all located in subfolders of the folder where my exe file is located.
- What is the easiest and more important: safest way to get the path to the folder of the current executable?