We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

DevX - Software Development Resource

Handling Complex Initialization

Complex initializations need only be done once and the result stored for later use. For example if you need to create a list of integer values and then load them,

DevX - Software Development Resource

Internationalization and Formatting numbers

You can consider Java to be a strong language with respect to internationalization and number formatting. Sometimes you might wish to format numbers in a specific locale or given a

DevX - Software Development Resource

Display Integers Without Commas in JTables

If you have a JTable where the values displayed in a particular columnare Integer objects, it will display the Integer values with commas(e.g. 98765432 is displayed as 98,765,432) if these

DevX - Software Development Resource

Recursion in the Real World

Computer science sophomores learn that recursion can neatly solve complex problems, e.g., Hanoi rings, wildcard handling, and parsing. In practice, however, recursion can be problematic for several reasons. First of

DevX - Software Development Resource

Avoid Assignments Inside an If Condition

An assignment expression can appear inside an if condition: if (x = getval() ) { // do someting } The if condition is evaluated in two steps: first, the unconditional

DevX - Software Development Resource

Initializing a Nondirect Base Class’s Constructor

A derived class’s member-initialization list can initialize any non-ambiguous member of its class, including base subobjects. Suppose you have a class C that is derived from B, which is in

DevX - Software Development Resource

The Linkage Type of Typedef Names

By default, a typedef name declared in the global scope has internal linkage. This means that separately compiled source files can’t refer to a typedef declared in another source file,

DevX - Software Development Resource

Informix ODBC Visual InterDev Hangs

Question: If I try to open an Informix table in Microsoft Visual InterDev, which uses SCO Vision Ultralite ODBC driver on an NT4/SP4 IIS4 Web server, Visual InterDev hangs. Using

DevX - Software Development Resource

Inserting a String into a Char(500)

Question: I am trying to insert a string into a char(500) but get this error message: A quoted string exceeds 256 bytes. I’m using this for a Web site built

DevX - Software Development Resource

Error Code When Executing Program

Question: I am receiving an error code of 0400 when a program is executing. I have been told that this is an SQL error code; however, none of the books

DevX - Software Development Resource

Informix Gives -155 Error

Question: I have been running Informix 7.22.TC1 successfully on Windows NT servers with the WebLogic 1.1 JDBC driver. On Web server restart, my application suddenly shows an error in connection

DevX - Software Development Resource

MTS (and COM+) and global variables

Ever since you were a little kid youve known that you should be careful with global variables, right? In this article I will try to motivate you once again why

DevX - Software Development Resource

Write Correct INSERT SQL Statement With ASP

Question: I am trying to update an Access database with an ASP page. My ASP page contains a guest book with first name, last name, and other relevant text boxes.

DevX - Software Development Resource

Sizeof Operator

Question: When declaring an unbounded array in my function’s parameter list, int a[], can I use the sizeof() operator to determine the array’s length at runtime? Answer: No, you can’t

DevX - Software Development Resource

Macros with Variable Number of Arguments

Question: Is there anyway to have a variable number of arguments passed to a macro? Yes, I know it can be done with inline, but this is for debugging purposes.

DevX - Software Development Resource

Sessions Do Not Work on Web Server Farms

Question: How do sessions work with clustered NT servers? How do you make use of clustering technology if an NT machine goes down along with its sessions? Is NT smart

DevX - Software Development Resource

Control How a Page is Cached

A proxy server reduces the amount of time spent retrieving documents over the Internet. It does this by caching, or storing, the document in memory and then serving it from

DevX - Software Development Resource

Tile With Lightweight Image Control Arrays

I write apps for companies where computer know-how is at an all-time low. Most applications scare people to death. However, Web-style forms and graphic buttons present soothing enough interfaces that

DevX - Software Development Resource

Enter Data on an MSFlexGrid

You can use MSFlexGrid for data entry without using additional ActiveX controls. For this, use the KeyPress and KeyUp events. To use the MSFlexGrid for data entry, add the grid?named

DevX - Software Development Resource

The reverse() Algorithm

Another useful STL algorithm is reverse(). This algorithm reverses the order of elements in a specified sequence. reverse() takes two iterators that mark the sequence’s beginning and end, respectively. Here

DevX - Software Development Resource

Convert a Decimal Number to Base N

Here’s a function that converts a decimal number (base 10) to another base number system. Each digit position corresponds to a power of N, where N is a number between

DevX - Software Development Resource

A C++ Virtual Machine?

It was a question of time until a C++ virtual machine would appear. Implementing a Java-style virtual machine for C++ is a trivial task. The problem is that such a

DevX - Software Development Resource

Implement a Context Stack

Isolating the source of an error in a method containing many nested method calls can be difficult. If you haven’t written comprehensive error-handling code in every method and property you

DevX - Software Development Resource

Wrap Date Functions in a Class

I’ve been working on a class module called clsDateInfo that returns various properties of a given date, and using it in some monthly trend graphs. I had to come up