devxlogo

May 12, 2004

Preserve Code Safety with Conversion Operators

ertain objects must be converted to a low-level representation and vice versa. Programmers using std::string objects, for instance, have to convert them to bare char pointers, as in the following

Named Parameters in C++

Named parameters allow you to send function arguments in any sequence. This is very useful when your functions have long parameter lists. Named parameters are not supported in C++, but

Develop a Reusable Image Cache in JavaScript

cripting a browser’s Document Object Model may be easy these days, but while the DOM is highly functional in some areas, it remains distinctly inflexible in others. Asynchronous operations like