More on Encapsulation

The purpose of this tutorial is to illustrate how to use some of the traditional aspects of C or C++ with classes and objects. Pointers to an object as well as pointers within an object will be illustrated. Arrays embedded within an object, and an array of objects...

C++ and Object Orientation

Object- Oriented Programming (OOP) is an approach to program organization and development that attempts to eliminate some of the pitfalls of conventional programming methods by in incorporating the best of structured programming features with several powerful new...

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

C/C++ String Library

The Better String Library is superior to the C library char string type, or C++’s std::string. It’s safer with regard to buffer overflows, simpler than C string manipulation, works ok for ‘\0’ terminated strings and generally faster for common...

String Sorting

String Sorting demonstration. Java /******************************************************* * 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...

The Standard C++ Library: Strings

Standard C++ not only incorporates all the Standard C libraries (with small additions and changes to support type safety), it also adds libraries of its own. These libraries are far more powerful than those in Standard C; the leverage you get from them is analogous to...

Count the characters in a specified string

This is a visual basic 6.0 source code to count the characters in a specified string. This function can be useful in Text editors or where you want to tell the user that how much characters have been inputted in the text field. You can also define which characters to...
Page 1 of 212