C++


Bjarne Stroustrup bs@alice.att.com


An object-oriented superset of C. In C++ a class is a user-defined type, syntactically a struct with member functions. Constructors and destructors are member functions called to create or destroy instances. A friend is a nonmember function that is allowed to access the private portion of a class. C++ allows implicit type conversion, function inlining, overloading of operators and function names, default function arguments, and pass by reference. It has streams for I/O.

"The C++ Programming Language", Bjarne Stroustrup, Addison-Wesley, 1986 (1st edition), 1991 (2nd edition).

g++

C++ release 2.0

May 1989. Added multiple inheritance, type-safe linkage, pointers to members, abstract classes. "C++ 2.0 Draft Reference Manual"

C++ release 2.1

Added nested types.

The Annotated C++ Reference Manual, Margaret A. Ellis and Bjarne Stroustrup, Addison-Wesley, 1990.

C++ release 3.0

Added templates.