
Porting itoa Windows STL Code to Linux
There is no default itoa implementation in the STL under Linux. If you include , it won’t work. If you disable the STL from the GCC command line, you lose

There is no default itoa implementation in the STL under Linux. If you include , it won’t work. If you disable the STL from the GCC command line, you lose

Suppose you have a class and want to use it at runtime. The code below shows how you can load the class and execute a desired method at runtime. The

To check whether nested triggers are turned on or off in SQL Server, issue the following command in Query Analyzer: EXEC sp_configure ‘nested triggers’ If the run_value is 0 then

Dates are generally a requirement for every application. However, including dates for users across the globe can be tedious, because different people use different formats to read the date. Oracle

Suppose you are writing a row-level trigger Z on a table X to update an audit table Y with information about inserts into X, and you need to know what

This tip provides a substitute for the __strrev function, because it’s not available under Linux. This is useful if you are porting existing code from Windows to Linux. Suppose you

If you’ve ever used the built-in logging facilities introduced in JDK 1.4, you’ve certainly faced a situation wherein you wanted to prevent log messages from appearing on the console. 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