Hello World


Program Listing

HelloWorld.cpp

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

#include <iostream>
#include <string>

using namespace std;

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

Sample Run

Hello, World!



Return to Lectures page


e-mail me at robbk@hsc.edu

This page was last modified on Tue Dec 7 16:04:21 1999 .

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

Return to Coms 261 home page