Singleton class with public constructor

The Singleton Design Pattern requires Constructors to be defined as private member of the class (Default constructor, Copy constructors and Overloaded Assignment operator should all be […]

Big and Little Endian

Little and big endian are two ways of storing multibyte data ( int, float, etc) in memory. – If machine is big endian, then first […]

Open Close Principle

The Open Close Principle in Programming says “Software entities like Classes, Functions, Modules should be open for extension, but closed for modification.” It encourages programmers […]

Singleton design pattern

Singleton patterns are used, when you want to allow creation of only one instance(object) of a particular class. Such classes (which allow only single object […]