
Create Two-Dimensional Arrays in the Heap
This code demonstrates how to create two-dimensional arrays in the heap: // Returns a pointer-to-pointer to a newly created array// of size [row : col].int **Create2D(int row, int col){ int

This code demonstrates how to create two-dimensional arrays in the heap: // Returns a pointer-to-pointer to a newly created array// of size [row : col].int **Create2D(int row, int col){ int

This tip shows you how to display the entries from a JAR/ZIP archive using the java.net.URL class. The key of the example is the URL construction. import java.net.*;import java.io.*;import java.awt.*;import

he new version of the Java Database Connectivity API (JDBC 4) is getting a major face-lift with many great new features. Perhaps the most important update is the support for

n my last article, “Drill-down on Three Major New Modules in Python 2.5 Standard Library,” I discussed how the ctypes, pysqlite, and ElementTree language modules can save you time and

his is the last entry in a series of articles on Microsoft’s “patterns & practices” (p&p) Enterprise Library tools, and how you can use them in your ASP.NET applications. Enterprise

icrosoft’s new ClickOnce auto-updating technology can radically simplify application deployment. Using it, .NET developers and architects can deliver highly interactive desktop applications while gaining the centralized maintainability and “always-up-to-date” qualities

he Sun Java Real-Time System (Java RTS) is the first conformant commercial implementation of Java Specification Request (JSR) -001, the Real-Time Specification for Java (RTSJ). Although initially released in 2002,

rom the simplest point of view, ClickOnce is a software technology from Microsoft that gives .NET developers the ability to publish complete applications (executable programs along with their resource and

To force an XSL-FO attribute to inherit the value of another attribute, use the inherited-property-value: <fo:block color=”blue”> Hello to you!!! The idea is that the “Hello” foreground will be blue

This tip shows you how to obtain a secure PDF from an FOP processor. This means the user can’t open the PDF without a user password and, once downloaded, cannot

It’s convenient to be able to store your most commonly used code snippets in the clipboard ring of your .NET IDE, but you lose them when you close the IDE.

Using a loop and the mathematical formula for a spiral, you can use pset(x,y) to plot the points returned by the formulas. The variables a and b determine the shape

ualcomm Brew’s component-oriented architecture and rich collection of components?interfaces, in Brew parlance?makes it easy to find a component to accomplish a particular task, such as decompressing an incoming stream (try

rawing text in Visual Basic 6 was all very simple?both the process and the results. First, you would set a form or PictureBox’s CurrentX and CurrentY properties and then call

This tip shows you how to display the entries from a JAR/ZIP archive using the java.net.URL class. The key in this example is the URL construction. import java.net.*;import java.io.*;import java.awt.*;import

The ability of Windows XP to save passwords for Web sites and network resources can be very convenient. Of course, it’s true that anyone with access to your computer can

Suppose you want to have a primitive type with a null (or an unknown) value. This is where you would use a nullable type. Nullable types have the following characteristics:

This function clears all occurences of extra white space (spaces, tabs, blank lines) and programming comments beginning with ‘;’ in a file and saves the cleaned file as another file.

he brand new 3.0 version of Windows Sharepoint Services (WSS) is no lightweight release. In fact, if you’ve had a chance to look through the new WSS SDK it’s not

icrosoft’s Visual Studio Team System (VSTS) focuses on the issue of dealing with complex software projects built by a large team. VSTS has all the ingredients needed for a distributed

Radio Frequency Identification (RFID) system is an identification system that uses radio waves to retrieve data from a device called a tag or transponder. RFID surrounds us in our daily

transaction is a very common operation in our daily lives as well as in the computing world. For example, when you try to deposit a check issued by your boss,

fforts to simplify application globalization and localization have definitely succeeded over the past few years. ASP.NET 2.0 made the process of localizing resources and deploying them with applications easier for

hy, oh why, should you use yet another file to house string, image, and binary resources? With Brew there are several good reasons. As every experienced developer knows, each handset

he .NET framework provides strong support for accessing Active Directory Services, letting you create, edit, delete, and search for directory objects efficiently. This article discusses the benefits of Active Directory

This recursive function finds a control on a form by its name. //written in C#/// <summary>///Recursive function to find control on the form by its name/// private Control _co;private Control

If you have images that are supposed to have transparent portions, but have lost the transparency information, you can use Microsoft Word to restore the transparent color. First, paste the

The easiest way to constrain an HTML input box to uppercase is to use the STYLE attribute inside the INPUT tag. Suppose you have the following code: <input type=”text” name=”big”

he long-awaited Java SE 6 is upon us. This latest version of the Java SE environment brings a number of new features and enhancements, such as integrated support for scripting

This tip shows you how to create XMLSchema datatypes direct from Java, using the javax.xml.datatype.* package. In this example you’ll create a Duration object (xs:duration in XMLSchema) and a XMLGregorianCalendar