Never Use Incompatible Pointers to Member Functions
A reader posted a message on one of the C++ newsgroups recently. He had to port a huge project from Borland C++ 5.0 to Visual C++ 6.0. The project uses
A reader posted a message on one of the C++ newsgroups recently. He had to port a huge project from Borland C++ 5.0 to Visual C++ 6.0. The project uses
In many C++ primers and courses, one of the common exercises is: “Write a function that reads a string of characters, say, the title of a book, from a keyboard
Here’s an easy way to return the focus to a control after the user clicks on a button on the screen. If you use the keyboard, you can save time
When using the ListView control in list mode (Listview.View = lvwList), no property indicates which column the user clicked on within the selected row. The ListView’s HitTest method returns only
Many times developers use a form’s default font arrow characters for To and From buttons between listboxes. To give your app a nicer, more solid look, do what Microsoft does-use
If you’ve ever tried to type a small program into the Immediate window or the Debug window in Access, you might have found that the style of VB programming you
The STLport organization offers an alternative implementation of the Standard Template Library. You can install the alternative instead of using the existing STL implementation shipped with your compiler. The creators
This code allows you to close all the MDI child forms in an MDI form at once. First, create a menu item in the MDI form, then paste in this
Suppose you want to assign the contents of a two-dimensional array to another two-dimensional array: int weekly_hours[5][5]; // source int another_array[5][5]; // destination You can use a nested loop to