C++ as an Object-Oriented Language

Even without its object-oriented features, C++ provides a number of improvements over C. Such features as end-of-line comments, flexible definitions of variables in the middle of a scope, symbolic constants for variables and pointers, the scope operator, function-like casts between types, the new and delete operators, default parameters, reference parameters, function and operator overloading, inline functions, the iostream library of I/O objects, and operations (this is quite a long list) contribute to the program quality.

But the major contribution of C++ to software engineering is the implementation of object-oriented features—classes, data members and member functions, constructors and destructors, class ...

Get Core C++ A Software Engineering Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.