hello,
in order to compile source written in C/C++, do the following steps:
1. Install XCode (if it isn't already installed)
2. Open Terminal
3. cd to the directory, where the source resists
4. use GCC to compile your source, in order to get a obj. file
one example: gcc -c test.c...