Ryan's C++ Page







A sample program

Comments

Variables

Constants

Statements
and Expressions


Functions

Simple Classes

Program
Flow Controls


Pointers

References

Advanced
Functions


Arrays

Inheritance

Polymorphism

Special Classes
and Functions


Advanced
Inheritance


Streams

The Preprocessor

Object-Oriented
Analysis and Design


Templates





What is C++?

C++ was created in the 1980's by Bjarne Stroustrup as a superset of the popular C programming language. Unlike C, C++ is an Object-Oriented language. This means it utilizes encapsulation, data hiding, inheritance, and polymorphism along with the features found in any non-Object-Oriented programming language.



Should I Learn C First?

There has been much debate over whether learning C before C++ advances or inhibits learning the language. On one side, knowing C will give you a solid understanding of what C++ functions do, and what the keywords mean. On the other hand, many people have had considerable difficulty switching from C programming style to the Object-Oriented techniques of C++. The choice is up to you whether or not you can handle this change.



What Do I Need To Start Programming In C++?

An Editor - You use an editor to type in your source code. You can use any text editor for this purpose. A popular editor is Microsoft's Notepad which is included in Windows 3.1 and Windows 95.

A C++ Compiler - A compiler is what changes your source code into object code which the computer can read.

A Linker - A linker is what turns your object code into executable code. Many compilers come with linkers already included in them.



Your questions, comments, and suggestions are appreciated. Please E-mail me. Good luck programming.