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
October 8th, 2008 0 Comments
Reference standards
Don’t in any circumstances refer to Unix source code for or during your work on GNU! (Or to any other proprietary programs.)
If you have a vague recollection of the internals of a Unix program, this does not absolutely mean you can’t write an imitation of it, but do try to organize the imitation along different lines, because this...
Read More |
Make a Comment
Posted on
September 26th, 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
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 24th, 2008 0 Comments
Every application begins with a namespace in C# .NET that has the same name as the project. Of course, you can change the namespace to anything you like in order to maintain compatibility with other projects.
For example we declared namespace Mycplus.CSharpBasics while taking an Overview of C#. We can write the whole application with in one namespace or we can...
Read More |
Make a Comment
Posted on
September 23rd, 2008 2 Comments
The real nuts and bolts of a programming languages is that which controls the flow of a program called statements.
Types of Statements in C#
C# borrows most of its statements directly from C and C++, though there are some noteworthy additions and modifications.
Expression & Control statements
Labeled & goto statements
Control statements allow to branch...
Read More |
Make a Comment
Posted on
September 22nd, 2008 0 Comments
Class inheritance is not just about reusing the classes at many locations, it also adds enormous flexibility to the way in which one can program his application.
The object-oriented programming approach focuses on objects as the basis for application building. Objects are instances of classes, which contain a description of related data and procedures. The Visual...
Read More |
Make a Comment