Hello, World!


HelloWorld.cpp

Program listing

/************************************************************************
*                                                                       *
*   Program:    Hello World                                             *
*                                                                       *
************************************************************************/

#include <iostream>
#include <string>

using namespace std;

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

Sample run

Hello, World!




e-mail me at robbk@hsc.edu

This page was last modified on Fri Sep 10 10:21:56 1999 .

URL: http://people.hsc.edu/faculty-staff/robbk/Coms261/Examples/HelloWorld.html

Return to Coms 261 home page