Is there a function that will return the name of the execatable of your program? For example, if I compile my exe as test.exe, but someone renames it to stuff.exe then I will need to determine the name at run time.
Is there a function that will return the name of the execatable of your program? For example, if I compile my exe as test.exe, but someone renames it to stuff.exe then I will need to determine the name at run time.
If cities were built like software is built, the first woodpecker to come along would level civilization.
Black Frog Studios
Try GetModuleFileName().
"Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C
get the name of the exe from the command line string
Code:char* cmdLine = GetCommandLine();
Quidquid latine dictum sit, altum sonatur.
Whatever is said in Latin sounds profound.