devxlogo

Tip Bank

Use Full-Screen Mode in Visual InterDev 6

Giving yourself enough elbow room to design Web pages can be difficult inside the Visual InterDev environment. However, there’s a little-known feature that greatly expands your screen real estate. Full

Uses of Reverse Iterators

Reverse iterators are ordinary iterators except that they invert the semantic of the overloaded ++ and — operators. They are useful when the elements of a container are accessed in

JavaScript Include Files?

Question: I have JavaScript functions that I’m using in different pages. Is there a way to do a C/C++ type include so I don’t have to replicate the JavaScript code

Optimize SQL Using “Show Statistics”

The new and improved showplan in SQL 7 is certainly prettier and easier to understand than the previous version. However, a better method of focusing on trouble spots is using

Redirect System.out and System.err

A crude but common way of debugging Java programs is to use the public System.out and/or System.err instances of PrintStream to display information: System.out.println(“Entering section A of my code”); One

The Role of Sequence Adaptors

A sequence adaptor is a container built upon another container that modifies its interface. For example, the container stack is usually implemented as a deque, whose non-stack operations are hidden.

std::string and Reference Counting

The Standard’s specification of class std::string is formulated to allow a reference counted implementation. However, this is not a requirement. A reference counted implementation must have the same semantics as

Which Class is Returned by getClass()?

When a class is instantiated, the subsequent object is actually an instance of the most derived class in the class hierarchy. A point of confusion for some programmers is that