Matt
2009-05-27 15:29:32 UTC
I can't seem to get a working compiler. The order I would want them for is OS X > Ubunu > Windows XP
X Tools for OS X isn't cutting it, becuase it complains about every code I enter. Even though if I press command shift r, and run through there, it works perfectly.
I've tried the Eclipse C++ plugin, but it gives an error about "binary files not found", which is quite irritating, and makes it so I can't compile and run it.
For Ubuntu I've used:
Anjuta IDE
Code::Blocks IDE
Eclipse
Geany
Kdevelop
For windows I've used dev-c++, but to no avail. I would press compile, and then run, and it would say it wasn't compiled.
So first person to get me a program compiled gets the points.
And I want this code to compile
And I don't care about any syntax here, because I'm learning it by a textbook, and this is exactly what the text has. I will be happy if I can have explicit instructions on how to compile using OS X terminal, just as long as I can know how to specify the exact path to the file. But then I need to know what filetype to save as >.>
----
#include
#include
int main(){
String Name;
cout<<"Enter your name: ";
cin >> Name;
cout << "Welcome, " << Name;
cout << "! Nice to meet you!" << endl;
return (0);
}