Linux Today: Linux News On Internet Time.

dotcomma: Simple C++ Tutorial, Part 1

Jun 25, 2000, 14:13 (1 Talkback[s])
(Other stories by aaron)
Example of a simple program:

#include <iostream.h> 
void main()
cout <<"Hello"; //This is a comment

Going through this line by line:

#include <iostream.h>
This will include the header file iostream.h that contains the information for writing out text
(cout), reading in, and many other things.

Complete Story

Related Stories: