Understanding C++ An Accelerated Introduction
Short Description
Understanding C++: An Accelerated Introduction. by Marshall Brain. C++ Vocabulary. The last tutorial focused on elements of the C++ language that extend C …
Website: www.cs.missouri.edu | Filesize: 505kb
Content
Understanding C++: An Accelerated Introduction
by Marshall Brain
Introduction
For many people the transition from C to C++ is not easy. In fact, this transition is often
accompanied by quite a bit of anxiety because C++ is surrounded by a certain aura that makes
it inaccessible. For example, you can pick up a book on C++, randomly turn to a page, and
encounter paragraphs like this:
“From a design perspective, private derivation is equivalent to containment except for the
(occasionally important) issue of overriding. An important use of this is the technique of deriving
a class publicly from an abstract base class defining an interface and privately from a concrete
class providing an implementation. Because the inheritance implied in private derivation is an
implementation detail that is not reflected in the type of the derived class, it is sometimes called
‘implementation inheritance’ and contrasted to public declaration, where the interface of the
base class is inherited and the implicit conversion to the base type is allowed. The latter is
sometimes referred to as sub- typing or ‘interface inheritance’.” [From “The C++ Programming
Language, second edition”, by Bjarne Stroustrup, page 413]
It can be difficult…
Get the file Download here
Related Books:Related Searches: implementation inheritance, interface inheritance, c programming language, marshall brain, implementation detail
Comments
Leave a Reply