C and C++ Programming Resources

Custom Search

Tutorials

Generic containers

Posted on September 10th, 2008 1 Comment

Container classes are the solution to a specific kind of code reuse problem. They are building blocks used to create object-oriented programs?they make the internals of a program much easier to construct. A container class describes an object that holds other objects. Container classes are so important that they were considered fundamental to early object-oriented...
Read More | Make a Comment

Multiple Inheritance in C++

Posted on September 10th, 2008 2 Comments

C++ version 2.0 was released by AT&T during the summer of 1989, and the major addition to the language is multiple inheritance, the ability to inherit data and methods from more than one class into a subclass. Multiple inheritance and a few of the other additions to the language will be discussed in this chapter along with some of the expected future directions...
Read More | Make a Comment

More on Virtual Functions in C++

Posted on September 10th, 2008 3 Comments

This tutorial will actually be a continuation of the topics covered in the last tutorial of Virtual Functions but this will be a fuller explanation of what virtual functions are and how they can be used in a program. We will present a simple database program with a virtual function to show how it can be used, then we will go on to illustrate a more complex use...
Read More | Make a Comment

Advance Exception handling

Posted on September 10th, 2008 0 Comments

An exception usually signals an error. Thought it doesn’t always indicate an eror, it can also signal some particularly unusual even in your program that deserves special attention. Exception & Errors Handling No mater how good our program is, it always have to be able to handle possible errors. Most applications today contain some form of error handling....
Read More | Make a Comment

The Standard C++ Library

Posted on September 10th, 2008 1 Comment

The 1998 C++ standard consists of two parts: the core language and the C++ standard library; the latter includes most of the Standard Template Library and a slightly modified version of the C standard library. Many C++ libraries exist which are not part of the standard, such as the Boost library. Also, non-standard libraries written in C can generally be used...
Read More | Make a Comment

Strings in C++

Posted on September 10th, 2008 3 Comments

String in C/C++ is not more than a array of characters. String encapsulates the functionality of traversing, replacing, copying of one character array to another. One of the biggest time-wasters in C is using character arrays for string processing: keeping track of the difference between static quoted strings and arrays created on the stack and the heap, and...
Read More | Make a Comment

Templates in depth

Posted on September 10th, 2008 5 Comments

Templates are of great utility to programmers in C++, especially when combined with multiple inheritance and operator overloading. The C++ Standard Template Library (STL) provides many useful functions within a framework of connected templates. As the templates in C++ are very expressive they may be used for things other than generic programming. One such use...
Read More | Make a Comment

Graphics in C Language

Posted on September 10th, 2008 145 Comments

Graphics in C Language We will restrict our discussion on Graphics in C Language to 16 bit C programming and MS DOS environment. In a C Program first of all you need to initialize the graphics drivers on the computer. This is done using the initgraph method provided in graphics.h library. In the next few pages we will discuss graphics.h library in details. Important...
Read More | Make a Comment


Page 6 of 9123456789