dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


dotcomma: Simple C++ Tutorial, Part 1

Jun 25, 2000, 14:13 (1 Talkback[s])
(Other stories by aaron)

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


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: