------------------------------------------------------------------------------
MC logo
Hello, World!
[^] CSc 220 Home
------------------------------------------------------------------------------
[Introduction] [Boolean and Control] [Functions] [Arrays and Pointers] [Dynamic Arrays] [Array Errors] [Command Array] [Standard Containers] [Structs and Classes] [Automatic Pointer] [Multi-File Programs] [Copying Objects] [Templates] [Inheritance] [Plain C I/O] [Type Odds And Ends] [Plain C Strings] [File I/O]
[Standards] [Programming Environment] [Hello, World!] [Hello Again, World!] [Identifiers] [Constants] [Average of Three] [Basic Types] [Shortcut Operators] [Increment Operators] [C++ Strings]
hello.cc
#include <iostream>

using namespace std;

/*
 * This is the famous Hello, World! program,
 * C++ version.
 */
int main()
{
        // Say it now.
        cout << "Hello, world!" << endl;
}

Points: