C Plus Plus

Submitted by: Submitted by

Views: 145

Words: 587

Pages: 3

Category: Other Topics

Date Submitted: 11/27/2012 06:29 AM

Report This Essay

Introduction

Instructions for use |[pic][pic] |[pic] | |

|[pic] |

Structure of this tutorial

The tutorial is divided in 6 parts and each part is in several different sections. You can access any section directly from the main index or begin the tutorial from any point and follow the links at the bottom of each section.

Many sections include an additional page with specific examples that describe the use of the newly acquired knowledge in that chapter. It is recommended to read these examples and be able to understand each of the code lines that constitute it before passing to the next chapter.

A good way to gain experience with a programming language is by modifying and adding new functionalities on your own to the example programs that you fully understand. Don't be scared to modify the examples provided with this tutorial. There are no reports of people whose computer has been destroyed due to that.

Compatibility Notes

The ANSI-C++ standard accepted as an international standard is relatively recent. It was published in November 1997, nevertheless the C++ language exists from long ago (1980s). Therefore there are many compilers which do not support all the new capabilities included in ANSI-C++, specially those released prior to the publication of the standard.

During this tutorial, the concepts that have been added by ANSI-C++ standard which are not included in most older C++ compilers are indicated by the following icon:

| | "; | |

|cin >> n; | |

|while (n>0) { | |

|cout 0). At this point there are two...