Adding files

So, I have a project that I've made in Xcode, with two source files. One is called, "Working Blackjack," and the other is called, "Hello World." I want to know how to add these together. Is is done through something like maybe:

1
2
#include <Hello World.h>
#include <Working Blackjack.h> 


I work in Xcode on my mac. Hopefully this can become solved soon!

Thanks for the help!
The file you wish to include must be either in the same directory as the file including it, or in your compilers default include directory. To include files in the same directory as the file including them, use quotes #include "Hello World.cpp"
If you are including a file from the compilers include directory, use greater/less than symbols. #include <iostream>
Topic archived. No new replies allowed.