|
|
By Alex, on September 28th, 2007
I have updated the Tiga theme (which this site uses) to be compatible with both WordPress 2.2 and 2.3.
This update: * Fixes the widget problems that were introduced under WordPress 2.2 (thanks, Otto42 for a solution that was cleaner than mine). * Fixes the blogroll issues that were introduced under WordPress 2.3.
I . . . → Read More: WordPress Tiga theme 2.2 / 2.3 upgrade
By Alex, on September 26th, 2007
Some of the most commonly used operators in C++ are the arithmetic operators — that is, the plus operator (+), minus operator (-), multiplication operator (*), and division operator (/). Note that all of the arithmetic operators are binary operators — meaning they take two operands — one on each side of the operator. . . . → Read More: 9.2 — Overloading the arithmetic operators
By Alex, on September 24th, 2007
In the lesson on function overloading, you learned that you can create multiple functions of the same name that work differently depending on parameter type. Operator overloading allows the programmer to define how operators (such as +, -, ==, =, and !) should interact with various data types. Because operators in C++ are implemented . . . → Read More: 9.1 — Introduction to operator overloading
By Alex, on September 20th, 2007
For much of this chapter, we’ve been preaching the virtues of keeping your data private. However, you may occasionally find situations where you will find you have classes and functions that need to work very closely together. For example, you might have a class that stores data, and a function (or another class) that . . . → Read More: 8.13 — Friend functions and classes
By Alex, on September 18th, 2007
In the previous lesson on static member variables, you learned that classes can have member variables that are shared across all objects of that class type. However, what if our static member variables are private? Consider the following example:
class Something { private: static int s_nValue; }; int Something::s_nValue = 1; // initializer int . . . → Read More: 8.12 — Static member functions
|
|