Is Delphi the New Pascal Compiler?
Question: I’m leaving Turbo Pascal for Windows 1.5 and Turbo Pascal 7.0 because they don’t work correctly with Windows 95 (for example, division by 0). I heard that Delphi is
Question: I’m leaving Turbo Pascal for Windows 1.5 and Turbo Pascal 7.0 because they don’t work correctly with Windows 95 (for example, division by 0). I heard that Delphi is
Question: How do I interrogate tables randomly and print out their structures, components, sizes, and indexes? This ability would be useful in allowing me to check how I have created
Here’s another simple but useful add-in you can add to your arsenal. Follow the directions given in the previous tip “Add Remarks to Your Procedures,” with only minor differences. Use
VB5 introduced support for enumerations, which are related sets of constants. Although you can declare a property as an enumerated type, VB lets you assign any long integer value to
When copying the contents of one array into another, use the System.arraycopy method instead of an iterative loop. For example, consider the following arrays: int[] first = {1, 2, 3};
Question: I am working on system that is built from many pieces, but they all use certain common settings. I developed a simple ActiveX DLL that reads those settings from
Question: I am trying to set up a small intranet and was wondering if there is a way to determine the client’s workstation name (for example, Computer Name in Control
Operator dynamic_cast fails when it cannot convert its argument to the desired type. Usually, such a failure results from an attempt to cast an object to a non-related class. But
Standard exception classes are derived from std::exception (defined in the header). They all implement the member function what(), which returns a const char * with a description of the exception: