I'm new to C++ coding, and I have made a short program to help with a math subject. The question however isn't how to code but, how to "export" .cpp file into a .exe file. I am using Xcode 4 on a Macbook Pro. Thanks for any input!
You want to know how to compile and link a cpp file to create an executable. All the cpp files in your project are compiled into object files. The object files are linked to create the executable. I don't know how to do it with xcode but I see there are many videos on youtube showing how to use it. One of the introductory ones will tell you what to do.