Xcode help
Hi,
in class i need to make some c++ projects, i usually code each file separately on Xcode and then compile them on terminal like :
g++ one.cc one.h one.cpp -o one
is there anyway to create an xcode project to do these
i've tried creating a c++ tool with the new project wizard, but it doesn't works well
in class i need to make some c++ projects, i usually code each file separately on Xcode and then compile them on terminal like :
g++ one.cc one.h one.cpp -o one
is there anyway to create an xcode project to do these
i've tried creating a c++ tool with the new project wizard, but it doesn't works well
Comments
Make a new project for C++ Tool. Add your files. Hit build.
Should do it.
How is this not working for you?
(x) #include <iostream>
(x) #include <cstdlib>
here are the files that i'm trying to compile with xcode...
the zip includes a .h .cc .cpp and .xcode files
Archive.zip
they compile ok using the terminal: 'g++ fecha.cc fecha.h fechaDriver.cpp -o fecha'
Right click on sources folder, add existing files.
Delete main.cpp reference.
Build.
Worked ok for me.