Multiple inheritance

In order to keep the program as simple as possible, all of the member methods are defined as inline functions.? This puts the code for the methods where it is easy to find and study.? You will also notice that all variables in both classes are declared to be protected...

Runtime type identification (RTTI)

Runtime type identification (RTTI) lets you find the dynamic type of an object when you have only a pointer or a reference to the base type.   Runtime type identification (RTTI) (13.3 KiB, 2,774...

searching and sorting in C++

IN THIS PROJECT I HAVE INCLUDED ALL TYPES OF SEARCHING and SORTING. C++ /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided...

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. C++ /******************************************************* * MYCPLUS Sample Code -...

Address Book

This graphic program can be used to store Personal infromation of people. C++ /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided...

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

The Standard C++ Library: IOStreams

You can do much more with the general I/O problem than just take standard I/O and turn it into a class.The iostreams classes are usually the first part of the C++ library that new C++ programmers learn to use. This chapter discusses how iostreams are an improvement...

Birthday Reminder

This graphics program reminds you of peoples’ birthdays. [code language=cpp]/******************************************************* * MYCPLUS Sample Code – https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is...

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

The Standard C++ Library: 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 subset...

PC to PC Communication

PC to PC Communication via RS232 port. Chat with only 3-wire connection. This program is tested with Turbo C++ editor Version 3.0. How ever, authors are not responsible for any damages that may happen to your computer. Please contact us if any problem exits....

My Piano

MyPiano 3.0 is a simple piano developed in C++ using graphics functions.By using this piano,user can play,record music etc. This is the third version of GPiano1.1.exe Exciting New Features: Improved Graphics Quality Mouse enabled window controls Ease of use Windows...

ASCII Characters

It prints out the numerical codes of the printable ASCII characters. This C program prints ASCII values of all the alphabets and special characters. Quite handy function for many programmers....

Find the longest common sub-sequence between two strings

This programme finds the longest common sub-sequence between two strings. It implements the most famous dynamic programming algorithm. Output is a null-terminated string, so must be the input This package is provided as is with no warranty. The author is not...

Optimal Pair-wise Sequence Alignment

Optimal Pair-wise Sequence Alignment It implements Smith-Waterman with affine gap penalties. It requires at least one blank line between the two sequences. Ignores input lines with non-alphabetical characters This program is provided as is with no warranty. The author...

Base Converter V1.1

Here I am, Sunil ; Back again with a new and lot more better version of my base converter. This time the accuracy and precision is million times better than the earlier version. You can convert all sorts of numbers i.e. including real numbers ( 1.23 etc. ). Plus A...

Telephone Index

This is telephone index which takes Name, Phone Number ,Mobile Number, Address and save it in newly created file. Also Saved record can be find and deled and much more. Zeeshan Ahmed from Mirpurkhas, pakistan. C /*******************************************************...

Text Box

A small text box for console based applications. It can be used as a help dialog box or showing the tips, hints in a game or as an information box. Its lenght and height can be changed. C /******************************************************* * MYCPLUS Sample Code -...

Making Mouse Pointers

How to create the mouse pointers in c language. Different shapes can be given to the mouse pointer by changing the values of the cursor variable array. C /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * *...