fiddler616
October 30th, 2008, 10:38 PM
Hello,
I've just started using Geany to do C++. I made a Hello World program, which looks like this:
#include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int nNumberofArgs, char* pszArgs[])
{
cout << "Hello World!";
return 0;
}
I then started to make another program with control flow and variables, so I copied everything, so I'd keep the boilerplate, and now, though it compiles, it won't execute, with the error
Failed to execute the terminal program
It is a verbatim copy of the working program--the only difference is that it has a different filename (from test.cpp to guess.cpp)
Any help would be very appreciated. Thanks.
I've just started using Geany to do C++. I made a Hello World program, which looks like this:
#include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int nNumberofArgs, char* pszArgs[])
{
cout << "Hello World!";
return 0;
}
I then started to make another program with control flow and variables, so I copied everything, so I'd keep the boilerplate, and now, though it compiles, it won't execute, with the error
Failed to execute the terminal program
It is a verbatim copy of the working program--the only difference is that it has a different filename (from test.cpp to guess.cpp)
Any help would be very appreciated. Thanks.