Tip Bank

DevX - Software Development Resource

Converting a Number to a String

The standard strstream family of classes enables you to convert numeric values into their string representation easily. You need to instantiate an strstream object, insert the numeric value to it

DevX - Software Development Resource

Linkage Specification

Linkage between C++ and non-C++ code fragments can be achieved using a linkage-specification. For example: extern “C” int func(int arg1); // func has C linkage The quoted string in the

DevX - Software Development Resource

Formatting Tables in HTML Pages

The best way to tackle alignment/wrapping issues with invisible tables is tomake the tables visible. To do this, you should set the border property oftables that contain form fields or

DevX - Software Development Resource

Stopping Services for Backup

Question: As backup for a client, can I write a script in Exchange to shut down the service, copy all the data files to another drive, and then restart the

DevX - Software Development Resource

Software to Convert Informix dat to dbf

Question: Is there any software that will convert database files from Informix to dbf files? Answer: I’m not aware of any. Sort of like rebuilding a Ferrari and putting in

DevX - Software Development Resource

Bool Values

Question: How do I make 1 bool take 1 bit instead of 1 byte? Answer: Instead of an array, you should use an STL container that is specifically designed to