C and C++ Programming Resources

Custom Search

C++ Source Code

Information/Data Protection

Posted on September 9th, 2008 0 Comments

Example of data protection in a very simple program. /******************************************************* * 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...
Read More | Make a Comment

Cache Coherence Mechanism

Posted on September 9th, 2008 0 Comments

This project simulates the cache coherence problem graphically. /******************************************************* * 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

ballonpoking(A GAME IN C++)

Posted on September 9th, 2008 2 Comments

This game will help all new C Language Programmers in understanding the concepts of graphics and object oriented programming in C++. So play and enjoy………… Please post your comments and rate the game. Regards Ehsan ul haq /******************************************************* * MYCPLUS Sample Code - http://www.mycplus.com * *...
Read More | Make a Comment

Demonstration of inheritance in C++

Posted on September 9th, 2008 0 Comments

Demonstration of inheritance in c++. This example contains the following files. VEHICLE.H VEHICLE.CPP ALLVEHIC.CPP CAR.H CAR.CPP TRANSPORT.CPP TRUCK.H TRUCK.CPP Vehicle.h is a basic class for a vehicle. Car, truck and allvehicle will be inherited from this base class. All the common features of a vehicle are kept in the base class i.e weight, # of wheels etc… Derived...
Read More | Make a Comment

Design patterns

Posted on September 9th, 2008 0 Comments

“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 nontraditional “patterns”...
Read More | Make a Comment

Using Templates to implement Stack

Posted on September 9th, 2008 0 Comments

Using Templates to implement Stack /******************************************************* * 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

TIC-TAC-TOE Enhanced Version – C++

Posted on September 9th, 2008 0 Comments

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 when you complete a line either in vertical, horizontal...
Read More | Make a Comment

Miltiple Inheritance

Posted on September 9th, 2008 0 Comments

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 and strange situations, which are covered in...
Read More | Make a Comment


Page 4 of 6123456