just put:
Code:
using namespace std;
below the #include <iostream.h>
Your tutorial should have said that o_O?... maybe a bad tutorial anyway it should look like this :
Code:
#include <iostream.h>
using namespace std;
int main()
{
cout << "Hello World!\n";
return 0;
}
The program should flash up on the screen and exit really quick. Put system("pause");
to see what you wrote:
Code:
#include <iostream.h>
using namespace std;
int main()
{
cout << "Hello World!\n";
system("pause");
return 0;
}
You should have just compiled and ran your first program. congrats!