0

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.

Tim Čas
  • 10,501
  • 3
  • 26
  • 32
gonzobrains
  • 7,856
  • 14
  • 81
  • 132

0 Answers0