Say I have following file structure of my application:
Data/prefs.ini
executable.exe
How can I open prefs.ini providing relative path to it from executable.exe is always the same (known at compile time)? Or how can I get absolute path of executable.exe? I need it to work on Linux, Mac and Windows.