




Safely Downcast Pointers Without dynamic_cast Overhead
Suppose you have a class hierarchy and you plan to do some downcasts. Try writing virtuals in the root class to do the downcasting to NULL for each of the
Suppose you have a class hierarchy and you plan to do some downcasts. Try writing virtuals in the root class to do the downcasting to NULL for each of the
Sometimes you need to display a string of characters of a specified length for a column value in a SQL query. To this end, SQL Server supports a function called
Normally, you need a main method in a Java class if you want to run that class from the command line. However, there is a little trick that allows you
The following code assigns an OnClick event to each calendar cell by altering the way the calendar control renders the cells containing the days. When clicked, the calendar posts back