Strange C++ Standard Library Problem [message #902437] |
Fri, 17 August 2012 10:59  |
Eclipse User |
|
|
|
So I have the following code:
#include <iostream>
using namespace std;
int main() {
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
return 0;
}
I've underlined all the things that give errors. I'm on a mac, running Indego. I installed all the compilers using Xcode. At some point in the update process from an old version of eclipse, I got frustrated and just deleted the entire program and installed the new one. Since then, I've been working on a project that I re-imported back into eclipse. Everything has worked fine. When I started a new project, it won't recognize the standard library.
In the command line, I have tested that the following commands work "g++, gcc, make, c++"
|
|
|
|
Powered by
FUDForum. Page generated in 0.05124 seconds