Object Oriented Programming Using C++

Object Oriented Programming Using C++

by Eugene Garrett

ISBN9789372422474
PublisherDigital Drive Learning
Copyright Year2026
Price$273.00
Enquire Now

Description

The major purpose of C++ programming is to introduce the concept of object orientation to the C programming language. Object Oriented Programming is a paradigm that provides many concepts such as inheritance, data binding, polymorphism etc. Object oriented programming is different from from procedural programming languages like C, Pascal in several ways. Everything in OOPs is grouped as “Objects”. OOP’s, defined in the purest sence, is implemented by sending messages to Objects. The term overloading means ‘providing multiple definitions of’. Overloading of functions involves defining distinct functions which share the same name, each of which has a unique signature. A key feature of C++ classes is inheritance. Inheritance allows to create classes which are derived from other classes, so that they automatically include some of its “parent’s” members, plus its own. For example, we are going to suppose that we want to declare a series of classes that describe polygons like our CRectangle, or like CTriangle. They have certain common properties, such as both can be described by means of only two sides: height and base. The building block of C++ that leads to Object-Oriented programming is a Class. It is a user-defined data type, which holds its own data members and member functions, which can be accessed and used by creating an instance of that class. A class is like a blueprint for an object. Data abstraction is one of the most essential and important features of object-oriented programming in C++. Abstraction means displaying only essential information and hiding the details. Data abstraction refers to providing only essential information about the data to the outside world, hiding the background details or implementation. This book is designed to help students understand the concepts governing OOP and develop a talent in them to choose right the OOP tools for a given problem situation. Dealing at length with the creation and manipulation of OOP components using C++, Object-Oriented Programming with C++ uses examples that reflect current practices and standards to provide a hands-on experience to budding software engineers.

Similar Books