|
|
By Alex, on January 17th, 2008
In the introduction to inheritance lesson, we mentioned that one of the biggest benefits of using derived classes is the ability to reuse already written code. You can inherit the base class functionality and then add new functionality, modify existing functionality, or hide functionality you don’t want. In this lesson, we’ll take a closer . . . → Read More: 11.6 — Adding, changing, and hiding members in a derived class
By Alex, on January 14th, 2008
In the previous lessons on inheritance, we’ve been making all of our data members public in order to simplify the examples. In this section, we’ll talk about the role of access specifiers in the inheritance process, as well as cover the different types of inheritance possible in C++.
To this point, you’ve seen the . . . → Read More: 11.5 — Inheritance and access specifiers
By Alex, on January 10th, 2008
I’m finally releasing version 0.1 of Alex’s Threaded Comments, a WordPress plugin that allows you to add threaded comments to your web site. This plugin is really just a fork of the wonderful Brian’s Threaded Comments plugin (v1.5.12). I added a few bug fixes, a few new features, and a new look. Thanks for . . . → Read More: Alex’s Threaded Comments WordPress Plugin v0.1
By Alex, on January 9th, 2008
In the past two lessons,we’ve looked at some basics about inheritance in C++ and explored the order that derived classes are initialized. In this lesson, we’ll take a closer look at the role of constructors in the initialization of derived classes. To do so, we will continue to use the simple Base and Derived . . . → Read More: 11.4 — Constructors and initialization of derived classes
By Alex, on January 7th, 2008
In the previous lesson on basic inheritance in C++, you learned that classes can inherit members and functions from other classes. In this lesson, we’re going to take a closer look at the order of construction that happens when a derived class is instantiated.
First, let’s introduce some new classes that will help us . . . → Read More: 11.3 — Order of construction of derived classes
|
|