You are on page 1of 8

COMBINING IMPERATIVE

AND OBJECT-ORIENTED
FEATURES: C++
C++
 has evolved from C
 a sequence of modifications to improve its
imperative features.

 support much of what Smalltalk pioneered


 Addition to support object-oriented
programming.
DESIGN PROCESS

 C++
Was made by Bjarne Stroustrup at Bell
Laboratories in 1980.
 SIMULA 67 and Smalltalk
The initial modifications to C included the
addition of function parameter type
checking and conversion and, more
significantly,classes
DESIGN PROCESS

 1981
Inlinefunctions, default parameters, and
overloading of the assignment operator
were added.
 1983
The resulting language was called C with
Classes and is described in Stroustrup.
DESIGN PROCESS

 Some goals of C with Classes


 The primary goal was to provide a
language in which programs could be
organized as they could be organized
in SIMULA 67—that is, with classes
and inheritance.
DESIGN PROCESS

 Some goals of C with Classes

 A second important goal was that


there should be little or no
performance penalty relative to C.
DESIGN PROCESS

 Some goals of C with Classes


 A third goal of C with Classes was
that it could be used for every
application for which C could be used,
so virtually none of the features of C
would be removed, not even those
considered to be unsafe.
DESIGN PROCESS

You might also like