...

View Full Version : Help whit C++ Hello World



ShakiShark
03-08-2013, 03:09 PM
#include "stdafx.h"


#include <iostream>

using namespace std;

int main()
{

cout << "Hello world!";
cin.get() ;
return O;
}




I Always fail at programming HEllo world..

Paludan
03-09-2013, 10:33 PM
Here you go

#include <iostream>
using namespace std;

int main()
{
cout << "Hello world!\n";
cin.get();
}


Try to create an empty win32 project, and make a new class under header and enter what I wrote, it should work



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum