devxlogo

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

Three Commandments for ASP Programming

f you are like me, you have already broken some of your New Year’s resolutions. As ASP programmers, however, it is time we made some resolutions to code better, more

Upgrading from Standard to Enterprise Edition 5.5

Question: I have read that to upgrade from Exchange 5.5 Standard to Enterprise Edition, I need to install Enterprise on top of my existing installation. Is that correct?What are the

Temporay Class Objects

Question: Would you please tell me the difference between regular class objects and temporary class objects? Answer: The compiler creates temporary objects in several occasions. Usually, the temporary stores the

Goto Statements

Question: Does C++ have a goto statement? If yes, how does it work (what is the syntax)? If no, is there an equivilant and what is the syntax? Answer: Yes,

Single-Instance Message Store

Question: I am working on a project to increase mail efficiency for our Exchange Server-based mail system. I would like to find out whether a specific feature is being utilized

Displaying PDF Documents

Need the ability to view a PDF document within a Javaapplet? Daniel F. Savarese, answered this question in the March 2000 issue of Java Pro. His solution involves using Adobe’s

Getting Around Global Variables

In many programming languages such as C or Pascal,most users have come across global variables.Like this C example: int GlobVar = 0; // Global variable void f(int x) // Function

Be Careful When You Cast

Java allows you to cast variables, or change them from one variable type to another. However, it’s important to make sure that the final variable type can store all the

Resolution of Overloaded Functions

Let’s say we have an overloaded function called fun(): void fun(string) { system.out.println(“String”); }void fun(int) { system.out.println(“Int”); }void fun(double) { system.out.println(“Double”); }void fun(float) { system.out.println(“float”); } If we call fun(37)

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,

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

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

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

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

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

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,

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

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

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

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

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

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.

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