Overview:

OBJECT-ORIENTED PROGRAMMING AND C++

(Note: This set of notes was compiled from several separate documents, and points may be repeated.)

Review of C
Changes from C to C++
Object-Oriented Programming
Classes
The following table shows the correspondence between features of C and of object-oriented languages.

TABLE: Comparison of C and SmallTalk
There are two or three other significant aspects to object-orientation. The first is "hierarchy" or "inheritance"; the second is "protection".

Inheritance and Protection
C++ as an object-oriented language
Override and overloading:
Review
  1. Object-oriented programming is distinguished by having
  2. C++ is not a pure object-oriented programming language, but rather adds object-oriented features to ANSI C.
  3. However, system interfaces may be different. The built-in functions, and their organization into #include files, the effect of other #-commands, and of other system utilities, may differ.
  4. Explicit memory management is handled either by object-oriented features (see constructors and destructors below), or by the new and delete commands (rather than malloc, dealloc, and company.
  5. Most of the object-orientation shows up in C++ in constructs and use of structured variables.
Other concepts [to be added]