Note that '/' works as a path seperator on both Windows and Unix and does not need to be escaped as "\\" (not to mention that '\' does not work in Unix, so annoying in platform agnostic code)...
Also, if you know that the resources are in your cwd (current working directory) (as returned by the standard getcwd()), then just using "./filename" is a lot simpler.