Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


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: