Xcode C++ classes different files
I am trying to make a C++ poker program using different classes. The classes are going to be in different files for organizations sake (if possible). So far my program should just print the deck out, but even though the program builds correctly it does not launch because of a permission denied issue. A window pops up that says "error: ::posix_spawnp ( pid => 674, path = '/Users/toddbaker/Documents/Poker/Build/Poker/Build/Products/Debug/Poker', file_actions = 0x11c6b7c98, attr = 0x11c6b7cd8, argv = 0x7fe6dcf1a6a0, envp = 0x7fe6db9f3650 ) err = Permission denied (0x0000000d)"
I have the files:
main.cpp (Performs main() function)
Deck.cpp (Defines Deck class)
Deck.h (Declares Deck class)
Card.cpp (Declares Card class)
Card.h (Defines Card class)
Would the settings of the files cause a permission denial error? Is it not possible to define classes in different files? Does anyone have any tips? I can post the code that I have in each file if you think that will help. Thanks so much in advance.
null-OTHER, OS X Yosemite (10.10.1), Xcode C++