Design patterns

“describe a problem which occurs over and over again in our environment, and then describe the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice” – Christopher AlexanderThis source code introduces the important and yet […]

By |C++ Source Code|0 Comments

Using Templates to implement Stack

Using Templates to implement Stack

By |C++ Source Code|0 Comments

TIC-TAC-TOE Enhanced Version – C++

This is an enhanced version of Tic-Tac-Toe (TTT) game by adding one more row and column. Actually I have played this newer version of Tic-Tac-Toe (TTT) game on a video game. So, when I learnt C/C++ programming, it was my wish to program this game myself using C/C++.

As in basic Tic-Tac-Toe (TTT) game you win […]

By |C++ Source Code|0 Comments

Miltiple Inheritance

The basic concept of multiple inheritance (MI) sounds simple enough: you create a new type by inheriting from more than one base class. The syntax is exactly what you’d expect, and as long as the inheritance diagrams are simple, MI can be simple as well. Or maybe not! MI can introduce a number of ambiguities […]

By |C++ Source Code|0 Comments

Message Digest Utility

This is a special console based utility which will calculate the Message Digest, Base 64 Encoding and Decoding, Checks the Message Digest and give output through file or through screen you can use this class to make the dll. Help is included in the main.cpp creating the .exe include all the file in VC++ 6.0 […]

By |C++ Source Code|0 Comments

Queue Implementation With Inheritance and Polymorphism

With Inheritance and Polymorphism (Late Binding)

By |C++ Source Code|0 Comments

SWAT GAME

SWAT GAME

By |C++ Source Code|0 Comments

Exception Handling

Error recovery is a fundamental concern for every program you write, and it’s especially important in C++, in which one of the goals is to create program components for others to use. To create a robust system, each component must be robust.The goals for exception handling in C++ are to simplify the creation of large, […]

By |C++ Source Code|0 Comments