Function name overloading

An example of function name overloading within a C++ class. In this program the constructor is overloaded as well as one of the methods to illustrate what can be done in C++ programming language. [code=’cpp’]...

OOP Techniques

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...

Operators Overloading

What is Operator Overloading Operator Overloading enables us to make the standard operators, like +, -, * etc, to work with the objects of our own data types. So what we do is, write a function which redefines a particular operator so that it performs a specific...

Generic algorithms

Algorithms are at the core of computing. To be able to write an algorithm once and for all to work with any type of sequence makes your programs both simpler and safer. The ability to customize algorithms at runtime has revolutionalized software development. The...

C++ and Object Orientation

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...