December 14, 1999

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

DevX - Software Development Resource

Very Slow Queries

Question: I’m working on a database built for reporting purposes. Tables are updated once a month. Reporting queries are taking many hours to complete, some up to 26 hours. The

DevX - Software Development Resource

Selecting Rows Based on a Distinct Value

Question: I have a table in my SQL 7 database that, among other values, contains e-mails. There are duplicate e-mail values in this table. I want to extract one record