I have recently installed Eclipse Luna in Linux.
Then, I have created a new project for testing "Hello World" in this following process.
<New C++ Project - Empty Project - Linux GCC - new source file>
I wrote
#include <iostream>
using namespace std;
int main() {
cout << "!!!hate this!!!" << endl; // prints !!!Hello World!!!
return 0;
}
You can see what I wrote in the .cpp file. However, I have some errors that I can't solve:
Symbol 'cout' could not be resolved lol.cpp /hyojung line 13 Semantic Error
Symbol 'endl' could not be resolved lol.cpp /hyojung line 13 Semantic Error
Symbol 'std' could not be resolved lol.cpp /hyojung line 10 Semantic Error
I don't understand why these errors happen.