Symbol 'cout' could not be resolved [message #997312] |
Sat, 05 January 2013 15:39 |
John Curry Messages: 4 Registered: July 2010 |
Junior Member |
|
|
Hi,
having issues with Eclipse: Hello World will not compile. See below for specifics.
Thanks!
John Curry
-------------------------------------------------------------------------
- Fresh install of Eclipse IDE for C/C++ Developers
Version: Juno Service Release 1
Build id: 20120920-0800
- Installed MinGW
- Added to PATH: c:\mingw\bin;C:\MinGW\msys\1.0\bin
- Created vanilla "Hello World": (TestProj.cpp)
#include <iostream>
using namespace std;
int main() {
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
return 0;
}
Build Project yields:
Description Resource Path Location Type
Symbol 'std' could not be resolved TestProj.cpp /TestProj/src line 10 Semantic Error
Symbol 'cout' could not be resolved TestProj.cpp /TestProj/src line 13 Semantic Error
Symbol 'endl' could not be resolved TestProj.cpp /TestProj/src line 13 Semantic Error
|
|
|
Powered by
FUDForum. Page generated in 0.02569 seconds