I am trying to use the stat()
function in a C++ program I'm writing for Mac OS X.
the stat() function fails to find this directory:
/Users/devuser/git/thisprogram/build/Release/ABC USER Testing App.app/Contents/Resources
But it is able to find this one:
/Users/devuser/git/thisprogram/build/Release/Resources
I am guessing it has something to do with spaces. I got the directory from the getcwd()
command. I even trying surrounding it with quotes but that didn't seem to work.