-
whereami
Locate the current running executable and the current running module/library on the file system 🔎 (by gpakosz)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Also paths are typically relative to the Current Working Directory, which is not necessarily the same directory as where the .exe file is. If you want to give a path relative to the .exe file you first need to find the absolute path of the .exe file. There is no way to get this in standard C++, but you can use the Windows API to find it or use a cross-platform library like whereami.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
-
I am having trouble with a relative file path. My debugger shows the proper path but the program can't open the file. Can someone help?
-
Visual Studio - Relative Path of solutionDir
-
How to force makefile to run from the bin directory rather than its root directory
-
How to change the working directory of my executable with compiling with g++ so that file input output works?
-
Absolute path works but relative doesn't