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 webcast

How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >

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: