C and C++ Programming Resources

Custom Search

C++ Source Code

Phil Sykes

Posted on September 9th, 2008 0 Comments

This is a class which has a member function that takes 3 arguements – std::string thestlstring, int base, and int base2. the function converts a number stored in the form of an std::string from the first base to the second. Bases 2 – 16 are supported. massiveattack92(at)hotmail.com /******************************************************* * MYCPLUS...
Read More | Make a Comment

Flexible Vector and Matrix (Vectors and Matrix with Arbitrary Bounds)

Posted on September 9th, 2008 0 Comments

Here is Flexible Vector and Matrix (Vectors and Matrix with Arbitrary Bounds). The algorithm has been written by Alex Vinokur. Programming Language : C++. Any and all comments would be appreciated.   Flexible Vector and Matrix (30.1 KiB, 2,413 hits)
Read More | Make a Comment

Multiple inheritance

Posted on September 9th, 2008 0 Comments

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 so they will be readily available for use in any class which inherits them.? The code for each...
Read More | Make a Comment

Database projects

Posted on September 9th, 2008 0 Comments

This a database management project . /******************************************************* * 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

Car Race Game

Posted on September 9th, 2008 1 Comment

You have to reach the finish line before the time goes out. There are many hurdles in your way. So be careful. /******************************************************* * MYCPLUS Sample Code - http://www.mycplus.com * * * * This code is made available as a service to our * * visitors and...
Read More | Make a Comment

SnakeMan

Posted on September 9th, 2008 0 Comments

It is a snake game same as in Nokia Mobile Phones. I assure that you would love it. The code is quite simple to understand. I would be happy if you visit it. /******************************************************* * MYCPLUS Sample Code - http://www.mycplus.com * * * * This code is made available...
Read More | Make a Comment

Bubble Sort

Posted on September 9th, 2008 0 Comments

Read an integer array, print it, then sort it and print it. Use the bubble sort method /******************************************************* * 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

Derived Classes

Posted on September 9th, 2008 0 Comments

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. /******************************************************* * MYCPLUS Sample Code - http://www.mycplus.com * * * * This code is made available...
Read More | Make a Comment


Page 3 of 6123456