|
|
By Alex, on December 14th, 2007
In real life, we use containers all the time. Your breakfast cereal comes in a box, the pages in your book come inside a cover and binding, and you might store any number of items in containers in your garage. Without containers, it would be extremely inconvenient to work with many of these objects. . . . → Read More: 10.4 — Container classes
By Alex, on December 10th, 2007
It is now possible for users to edit comments up to an hour after they posted them. Hopefully this will cut down on the need to double/triple post when WordPress screws a comment up. :)
As a reminder, if you are going to post HTML or C++ code (or any kind of code), embed . . . → Read More: Site news: Comment editing enabled!
By Alex, on December 7th, 2007
In the previous lesson on composition, you learned that compositions are complex classes that contain other subclasses as member variables. In addition, in a composition, the complex object “owns” all of the subobjects it is composed of. When a composition is destroyed, all of the subobjects are destroyed as well. For example, if you . . . → Read More: 10.3 — Aggregation
By Alex, on December 4th, 2007
In real-life, complex objects are often built from smaller, simpler objects. For example, a car is built using a metal frame, an engine, some tires, a transmission, a steering wheel, and a large number of other parts. A personal computer is built from a CPU, a motherboard, some memory, etc… Even you are built . . . → Read More: 10.2 — Composition
|
|