Hey everyone.
I got a little question about getting the data path of my c program. I heard something like it's already given in the "int main(int argc, char **argv)". But with witch function can I get it?
Do you have any suggestions?
For example: The program is called Pathfinder and the path is 'D:\Path1\Path2\Pathfinder.exe'.
I have no idea how to start so I'm very happy about any help.
Thanks in advance.