C++ LANGUAGE TUTORIAL

This tutorial teaches the C++ programming language but assumes that the student has already attained a reasonable proficiency in C programming. It is composed of 12 chapters which should be studied in order since topics are introduced in a logical order and build upon topics introduced in previous chapters. It is to the students benefit to compile and execute each example program as it is studied. The diligent student will modify the example program in some way, then recompile and execute it to see if he understands the material studied for that program. This will provide the student with valuable experience using his compiler.

The recommended method of study is to print the text for one or two chapters, locate the example programs in the /src directory, and study the material by loading the example programs in the compiler's editor for viewing.

Version 2.61 - September 22, 1996 (Files restructured on March 27, 2001)

 

Introduction - What is C++ and why study it?
Chapter 1 - Simple Things
Chapter 2 - Compound Types
Chapter 3 - Pointers
Chapter 4 - Functions
Chapter 5 - Encapsulation
Chapter 6 - More Encapsulation
Chapter 7 - Inheritance
Chapter 8 - More Inheritance
Chapter 9 - Multiple Inheritance
Chapter 10 - Virtual Functions
Chapter 11 - More Virtual Functions
Chapter 12 - Flyaway Adventure Game

 

 

HTML Documentation - All of the 13 files listed above (plus the diagrams) are included for use locally. There are no executable files in this group of files.

Source Code - All example programs. There are 104 source files which are all explained in the 12 chapters of text. There are no executable files in this group of files.

Answers to Exercises - The authors answers to all of the programming exercises. There are 32 source files. There are no executable files in this group of files.

Flyaway Game Executable file - (flyaway.exe) This file (about 25k) is a compiled and executable version of the Flyaway adventure game which runs under DOS. All source code for this file is contained in the Source Code above.

 


Copyright © 1988-2001 Coronado Enterprises, a division of WebStrata IS - Last update, March 27, 2001
Gordon Dodrill - author -
Please post any comments, suggestions or code snippets to our Code Board.