The C++ Programming Language

Hello world! Example Program

Click below to go directly to a specific section:
Description | Source Code | Sample Run | Program Notes


This program demonstrates the text output function of the C++ programming language by displaying the message "Hello world!".

Source Code

#include <iostream.h>

    cout << "Hello World!";
    return 0;

Sample Run

Hello world!

Program Notes

This program has been tested, it works perfectly without any errors or warnings.
[Back] [Home]

Last modified: 03:37 PM on 11/21/1996