Trying to get Eclipse CDT plugin to compile a simple C++ app. I create a new C++ project, and add 1 file (test.cpp
) and code it up like a "Hello, world!" example:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello, world!";
return 0;
}
I get highlighted syntax errors on using namespace std
and cout
, stating (respectively):
Symbol 'std' could not be resolved Symbol 'cout' could not be resolved
I'm sure I didn't install CDT with everything it needed to compile/build a full C++ app. Where could I start looking to figure out what I'm missing?