C and C++ Programming Resources

Custom Search

More on Inheritance in C++

Posted on October 10th, 2008 6 Comments

In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. It supports the concept of hierarchical classification. For example, the bird robin is a part of the class flying bird which is again a part of the class bird. One reason to use inheritance is that it allows...
Read More | Make a Comment

Inheritance in C++

Posted on October 10th, 2008 6 Comments

In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. It supports the concept of hierarchical classification. For example, the bird robin is a part of the class flying bird which is again a part of the class bird. One reason to use inheritance is that it allows...
Read More | Make a Comment

Polymorphism

Posted on September 22nd, 2008 0 Comments

Class inheritance is not just about reusing the classes at many locations, it also adds enormous flexibility to the way in which one can program his application. The object-oriented programming approach focuses on objects as the basis for application building. Objects are instances of classes, which contain a description of related data and procedures. The Visual...
Read More | Make a Comment

OOP Techniques

Posted on September 11th, 2008 2 Comments

Before getting into the discussion of what are the object oriented programmingtechniques, let’s first look at What makes a programming language or programming methodology object oriented? Well, there are several indisputable pillars of object orientation. These features stand out more than any other as far as object orientation goes. They are Encapsulation ...
Read More | Make a Comment

Multiple Inheritance in C++

Posted on September 10th, 2008 2 Comments

C++ version 2.0 was released by AT&T during the summer of 1989, and the major addition to the language is multiple inheritance, the ability to inherit data and methods from more than one class into a subclass. Multiple inheritance and a few of the other additions to the language will be discussed in this chapter along with some of the expected future directions...
Read More | Make a Comment

C++ and Object Orientation

Posted on September 10th, 2008 0 Comments

Object- Oriented Programming (OOP) is an approach to program organization and development that attempts to eliminate some of the pitfalls of conventional programming methods by in incorporating the best of structured programming features with several powerful new concepts. It is a new way of organising and developing programs and has nothing to do with any particular...
Read More | Make a Comment

Information Hiding

Posted on September 9th, 2008 0 Comments

Example of a program with a little information?hiding contained in it. /******************************************************* * MYCPLUS Sample Code - http://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * ...
Read More | Make a Comment

Queue Implementation With Inheritance and Polymorphism

Posted on September 9th, 2008 0 Comments

With Inheritance and Polymorphism (Late Binding) /******************************************************* * MYCPLUS Sample Code - http://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of illustration....
Read More | Make a Comment