Tip Bank

DevX - Software Development Resource

The Size of an Enum Type

In C, the size of an enumeration equals the sizeof(int). In C++, the underlying type for an enumeration is not necessarily an int–it can be smaller. Furthermore, if an enumerator’s

DevX - Software Development Resource

Invoking Methods Using Reflection

The java.reflect package enables a Java program to invoke methods on classes using the string names of the methods. This feature is the basis of the interaction between a Java

DevX - Software Development Resource

Start MS SQL Server Dynamically

Use this code in your C++ executable to start MS SQL Server dynamically on aWindows NT machine. Link to w95scm.lib, which is provided with the SQL 7.0 CD. #include “wn95scm.h”

DevX - Software Development Resource

Concatenate to Increase ASP Performance

Although it is common to use repeated Response.Write statements in an Active Server Pages script, you may not be getting the most out of your Web server. Each time you

DevX - Software Development Resource

File Input/Output

Question: I would like to know what is the difference in C between opening a file opened in binary or text mode. Answer: The primary difference is in the handling