Hello everyone,
we're just starting to learn C++ in University and I have some problems getting XCode to work.
We got a header file "fcpp.hh" and if I put that in a directory with my program "first.cc", which looks like this:
#include "fcpp.hh"
int main()
{
return print((3+(5*8))-(16*(7+9)));
}
And compile and run it using the command line everything works fine.
However, when I put the header file in the directory of a new XCode project including the code and click on "Build and Run" I get an error in the status bar which says:
Error from Debugger: The program being debugged is not being run.
I did not even tell XCode to build and debug, so why does this error occur?
Any help is really appreciated!
we're just starting to learn C++ in University and I have some problems getting XCode to work.
We got a header file "fcpp.hh" and if I put that in a directory with my program "first.cc", which looks like this:
#include "fcpp.hh"
int main()
{
return print((3+(5*8))-(16*(7+9)));
}
And compile and run it using the command line everything works fine.
However, when I put the header file in the directory of a new XCode project including the code and click on "Build and Run" I get an error in the status bar which says:
Error from Debugger: The program being debugged is not being run.
I did not even tell XCode to build and debug, so why does this error occur?
Any help is really appreciated!