Bubble Sort

Read an integer array, print it, then sort it and print it. Use the bubble sort method

By |C++ Source Code|0 Comments

Derived Classes

program, the objects are instantiated from an?inherited class and the intent of this program? is to illustrate that there is nothing magic?about a derived class.

By |C++ Source Code|0 Comments

Information/Data Protection

Example of data protection in a very simple program.
/*******************************************************
* MYCPLUS Sample Code – http://www.mycplus.com *
* […]

By |C++ Source Code|0 Comments

Cache Coherence Mechanism

This project simulates the cache coherence problem graphically.

By |C++ Source Code|0 Comments

ballonpoking(A GAME IN C++)

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 *
* […]

By |C++ Source Code|2 Comments

Demonstration of inheritance in C++

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 classes will have the veicle properties and […]

By |C++ Source Code|0 Comments