First Program in C++ “Hello World”

 

First C++ Program Hello World

One of the simplest programs that can be written in the C++ language.

// A hello world program in C++

	#include<iostream.h>
	using namespace std;

	int main()
	{
		cout << "Hello World!";
		return 0;
	}

// Compile and Run successfully in TurboC++
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s