I have downloaded Eclipse Juno for C++ from here. I am trying to build a simple hello world program (mostly just to test out using eclipse for C++), but I can't get it to build and run. Here's my code:
#include <iostream>
using namespace std;
int main() {
cout << "hello" << endl;
return 0;
}
The Problems tab shows
make: *** No rule to make target `all'.
I can only assume this is happening because eclipse is not configured to find my compiler (g++ for archlinux), but I can't figure out how to fix it. Ideally I want to be able to program in C++ with Eclipse as easily as you can in Java (i.e. write code, build and run).