Designated Initializers
Another new feature in C99 is called designated initializers. Designated initializers enable you to initialize specific array elements without having to initialize the entire array. For example, suppose you have
Another new feature in C99 is called designated initializers. Designated initializers enable you to initialize specific array elements without having to initialize the entire array. For example, suppose you have
The std::getline() functions reads data from an input stream and writes it to a string object. Unlike cin’s >> operator, getline() also reads white spaces, which makes it useful for
Suppose you receive an int from a remote host and you wish to convert it to big-endian order. Here is another portable solution for handling of big and littleendian data
You can never tell just what your users are going to do. Sometimes, their browser settings aren’t quite optimal for your site, and you are forced to cater to the
This code adds the appearance of a grid control to a traditional listview, drawing lines between rows and columns: Private Declare Function SendMessageLong Lib
An easy way to find the number of words in a given string: Dim varArray as VariantvarArray = Split(
If your application connects to Microsoft SQL Server, you can use two features to make your login easy and low maintenance. The first choice is to use OLE DB instead
This undocumented feature of VB6 lets you create new controls at run time. In previous versions, one had to create a control array at design time in order to be
Nowadays, components are popularly used in VB projects. These components can sometimes make it hard to determine which component has an error when the application stops running. This is especially