I just wanted to store the path that the executable is running in. When I try and check for a file, it shows it as not being there even though it is in the same folder as the executable, so I am uncertain where it is looking.
When I used some code I found in some of the other posts in these forums, all I got was "\" which is definitely wrong. Now, I can look at argv and that gives me the full path, but it includes the exe filename, also, I doubt this is very cross platform friendly (although I am mainly working with Windows at the moment).
Is there an Allegro 5 function to provide this, or should I parse argv myself?