Tip Bank

DevX - Software Development Resource

All-Encompassing Try

Question: I was told that in order to make my program easier to read, I shoulduse try to cover all of my program, then catch every exception at the endof

DevX - Software Development Resource

iHTML

Question: How can I retrieve the images that are stored in the SQL Server Database Table by using iHTML? Answer: I, as well as many others, generally discourage storing images

DevX - Software Development Resource

Calling the CD-Rom

Question: I would like to know how to call the CD-Rom, or rather search for its drive letter. Answer: You can use the FileSystemObject (Microsoft Scripting Runtime in the references

DevX - Software Development Resource

The binary_search Algorithm

STL’s binary_search() algorithm traverses a sequence and returns a Boolean value indicating whether the sought-after element exists in that sequence. binary_search() is declared in the header as follows: bool binary_search

DevX - Software Development Resource

Useful STL Terminology

Here are some key terms that you may find useful for reading Standard Template Library (STL) literature and documentation. ContainerA container is an object that stores objects as its elements.

DevX - Software Development Resource

Blocking Object Copying and Assignment

To block copying and assignment of an object, explicitly declare the assignment operator and copy constructor private. Don’t define them, (there’s no point in defining them because they can’t be