C and C++ Programming Resources

Custom Search

Object Oriented Programming

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

Standard Template Library

Posted on September 21st, 2008 0 Comments

The STL (Standard Template Library) was originally a third-party library from HP and later SGI, before its incorporation into the C++ standard. The standard does not refer to it as “STL”, as it is merely a part of the standard library, but many people still use that term to distinguish it from the rest of the library (input/output streams [known as...
Read More | Make a Comment

Objects

Posted on September 18th, 2008 0 Comments

Structured programming only deals with procedures (functions) and variables. The basic idea behind the Object Oriented Programming is that it deals with the objects. In real life everything is an object and every object has properties and functionality. As everything in the computer world is derived from the real life, like online books resemble with orignal...
Read More | Make a Comment

Classes

Posted on September 17th, 2008 11 Comments

If we say that a particular programming language is Object Oriented then it means, the programming language must have the facility to define classes in it. A class is an expanded concept of a data structure i.e instead of containing data only, it can contain both data and functions (operations on data). What is a Class? A class is an orgnisation of data and functions...
Read More | Make a Comment

Inheritance

Posted on September 15th, 2008 0 Comments

In real life inheritance is what we acquire from our parents. For example our lifestyle, way of talking etc… 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...
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