Tip Bank

DevX - Software Development Resource

Interface Usage

Question: In designing a program, how do I know when to use an interface or a class?Is there a basic rule to follow? Answer: Java supports a limited form of

DevX - Software Development Resource

Add Variables to FrontPage 2000 Web Sites

If small parts of your FrontPage Web change frequently, you can save a lot of time by inserting variables with the Substitution Bot. Any time you need to change the

DevX - Software Development Resource

Purpose of Placement delete

C++ defines a placement version of operator delete. Placement delete is not supposed to be called directly by the user. Rather, it merely serves as the deacllocation function that the

DevX - Software Development Resource

Introducing Pointers to Members

Pointers to members are one of the most intricate syntactic constructs in C++, and yet, they are a very powerful feature too. In future tips, I will discuss pointers to

DevX - Software Development Resource

Multithreading Misconceptions

While it is true that a multithreaded app is more responsive than a single threaded one, programmers who are new to multithreading are often misled into thinking that a multithreaded

DevX - Software Development Resource

Avoiding Deferment of Global Object Construction

Consider the following class and its global instance: // Foo.h class Foo { public: Foo() { RegisterSelf(); } private: void RegisterSelf() {/**/} };// Foo.cpp #include “Foo.h” Foo reg; // global