i have Visual C++ installed on my system. I downloaded eclipse-cpp-indigo-SR1-incubation-win32. I followed the following steps to create a new C++ project:
File-->> New -->> C++ Project-->> Gave it a (name) -->> Hello World C++ Project-->> Finish
Then I entered this example program:
#include <iostream>
using namespace std;
int main() {
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
return 0;
}
This code was pre-written.
I clicked the green (run) button, but this gave me the error message: “launch failed: binary not found”.
As mentioned in comments, I clicked hammer (build) button, and this gave the error message : “a program file was not specified in the build configuration”
Can anybody troubleshoot this?
Just select the source file, and press “hammer” (build) icon first. And then the green one.