C++ Programming Tutorials
Posted on
October 10th, 2008 6 Comments
In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. It supports the concept of hierarchical classification. For example, the bird robin is a part of the class flying bird which is again a part of the class bird.
One reason to use inheritance is that it allows...
Read More |
Make a Comment
Posted on
October 10th, 2008 6 Comments
In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties and functionality of objects of another class. It supports the concept of hierarchical classification. For example, the bird robin is a part of the class flying bird which is again a part of the class bird.
One reason to use inheritance is that it allows...
Read More |
Make a Comment
Posted on
October 9th, 2008 2 Comments
By George Belotsky
Published on Linux DevCenter (http://www.linuxdevcenter.com/)
http://www.linuxdevcenter.com/pub/a/linux/2003/05/08/cpp_mm-1.html
Everyone knows that memory management is a difficult and dangerous chore in C++. This series of three articles will show you that the conventional wisdom is not true. When approached correctly, C++’s seemingly...
Read More |
Make a Comment
Posted on
September 25th, 2008 0 Comments
As we begin the study of C++ and object oriented programming, a few commentsare in order to help you get started. Since the field of object oriented programming is probably new to you, you will find that there is a significant amount of new terminology for you to grasp. This is true of any new endeavor and you should
be warned not to be intimidated by all of...
Read More |
Make a Comment
Posted on
September 14th, 2008 2 Comments
Object oriented programming is a new way of approaching the job of programming. Object oriented programming will seem very unnatural to a programmer with a lot of procedural programming experience. This tutorial is the beginning of the definition of object oriented programming, and we will study the topic of encapsulation which is a “divide and conquer”...
Read More |
Make a Comment
Posted on
September 13th, 2008 0 Comments
Functions are the building blocks of any programming language.
A Function is a self contained block of code with a specific purpose. It has a name that is used to identify and call it for execution. The function name is global, but it is not necessarily unique in C++. Ivor Hoprton.
Declaration of a Function
The standard form of declaration of a function is
return_type...
Read More |
Make a Comment
Posted on
September 12th, 2008 15 Comments
Once again we are into a completely new topic with terminology which will be new to you. If you are new to object oriented programming, you should follow along in this tutorial very carefully because every attempt has been made to define every detail of this new and somewhat intimidating topic.
One term which must be defined is polymorphism, a rather large word...
Read More |
Make a Comment
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