devxlogo

September 16, 2000

Forms, Formats, and Contents

was studying the excellent Francesco Balena book, “ProgrammingVisual Basic 6.0,” edited by Microsoft Press, the cost of which iswidely compensated by both the book and the enclosed CD contents&#151:when Iran

Returning Aggregates from a Function

Both C and C++ allow you to return by value aggregates, e.g., structs and unions, from a function. However, the runtime overhead of returning large objects by value can be

Designing a Generic Callback Dispatcher

In many applications, you need a generic class that invokes callback functions regardless of their class type. For example, an even-driven system that needs to call a member function of

Accessing a Class-Internal Type

Here’s a common error: you define a class-internal type, say an enum or typedef, and then try to use it as the return type of that class’s member function: class

Overcoming a Common Bug in

The standard functions isalpha(), isdigit(), isprint() etc., defined in the standard header or often fail to produce the right results because they assume that their arguments are of type ‘unsigned

How to Remove Flashing in an Applet

Most of the Java books talk about double buffering for removing theflashing. It solves the problem to some extent but not 100% perfect in caseof flashing. I am giving the