What's the easiest way to get the application path? I'm storing my resources in subdirectories next to the executable, and have set up my IDE to set the working directory appropriately. However, when I run it normally, the working directory defaults to the root directory, which doesn't help.
I've had a look online, and it seems that the usual method to get the application path varies by platform; I guess I could use that, but it would be nice if SFML provided an easier way.
I'm using Mac OS X 10.6 and compiling with GCC, but I'd like to be able to get it to work on Windows and Linux too.