Hiiiiiiii guys.
Right, so, I have absolutely no idea what I'm doing, this is quite literally my first ever C++ program and it frightens me tbh. I'm doing the 'HelloWorld' program, cause, you know, no one ever does that.
Anyway, this is what I've got so far.
1 2 3 4 5 6 7
|
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!!!" << endl; // prints Hello World!!!
return 0;
}
|
I can decipher what most of it means, but my big problem is that when I go to launch it (I'm using the Eclipse IDE with the C++ plugins), it says:
1 2 3 4
|
**** Build of configuration Debug for project HelloWorld ****
**** Internal Builder is used for build ****
Nothing to build for HelloWorld
|
After that the console goes blank.
Now, if I'm not mistaken, cout is pretty much a print out statement for a stream...right?
So
in theory this should work.
I've taken a look at a number of tutorials and this seems the same across a number of examples, so either C++ hates me or I'm doing it wrong.
Thoughts?