
Determine Whether a C or C++ Compiler Was Used to Compile Code
The code below contains standard, pre-defined macros used at runtime to determine whether a C or C++ compiler was used to compile the code. For C compilers, it also determines

The code below contains standard, pre-defined macros used at runtime to determine whether a C or C++ compiler was used to compile the code. For C compilers, it also determines

To get the current date, your first instinct is probably to use the java.util.Date class. However, this class has so many deprecated methods that it’s probably best to ignore it.

In ASP.NET, a web form’s title is determined by the HTML View’s Title attribute. However, there is no property in the default (or any other namespace) that helps you to

hen you need to develop a web form with a special design and great effects, you will probably elect to use Flash. But building and programming Flash forms is considerably

he book A Practical Guide to Ubuntu Linux walks you through every feature and technique you need to know about Ubuntu Linux, from installing Ubuntu—using the DVD included with the

ith the release of Visual Studio 2008, Microsoft has updated the C# language to its latest version, 3.0. C# 3.0, contains several key language enhancements that support the recently-announced Language

f you’ve ever worked with sophisticated database systems or large applications you’ve probably accumulated sizable libraries of stored procedure code. Such libraries typically hold a few hundred stored procedures, ranging

he general-purpose XML transformer and/or validator discussed here, named “XmlTransform” operates on an arbitrarily deep directory tree containing files you want to transform. As output it optionally generates multi-level indices

ne complaint about Microsoft Windows SharePoint Services (WSS) 2.0 and Microsoft SharePoint Portal Server 2003 was the difficulty in making changes to the environment after it was deployed. Officially, changing

racking data changes is an essential requirement in many software, application, and business-integration scenarios. Rigorously implementing this requirement is relatively difficult because modeling and working with the delta for typical

ne of Silverlight’s key strengths is its ability to provide rich, interactive features. Besides using it to perform cool animations and transformations on graphics and videos, another good use of

still travel more than I’d like, although the toll has decreased by at least 50 percent over the past few years. I used to read while traveling because I never

arl Franklin: What was your hand in [LINQ]? I mean, what was your role? Erik Meijer: I was both in the VB and the C# design team so I kind

ow many times have you sat at the computer, with a need to visit the, erm, “reading room,” and thought, “Just one more minute, I know I can get it

n and Out Burger, Bose, and Ultimate Ears—what do these three companies have in common? They are specialists. In and Out Burger is a fast food restaurant chain that serves

When you want to determine the order of articles into an sequence returned by an XQuery query, you can use the > operators: – X > Y: is true if

Using the Windows “split” feature available in the VS.NET IDE, you can split the document window into two and have two windows with the same content aligned horizontally. This allows

Consider a simple POJO class, like the one shown below: Class Person{ long id; String firstName; String lastName; …} Now, suppose you want to persist a collection of Person objects.

s you design and implement ASP.NET web applications, you will need to fully master the techniques for displaying data to users. This need led Microsoft to develop the many different

ecent polls show that nearly fifty percent of applications with reporting functionality use Crystal Reports, and about twenty percent use SQL Server Reporting Services. That popularity warrants taking a look

he data-loss scenario I described in the DevX article SQL Server 2005 Bug Alert: Merge Replication Could Mean Data Loss (published November 2, 2007) is mainly due to the difference

eveloping Windows Vista Sidebar gadgets generally involves a lot of JavaScript programming. To make it possible for Sidebar gadgets to access the various systems’ information, Microsoft has provided a set

ost Standard Library algorithms operate on sequences whose boundaries are designated by a pair of iterators: one iterator marks the beginning of the sequence and another marks its end. Combining

he latest Java version of the Virtual Token Descriptor for XML (VTD-XML) can function as a slicer, an editor, and an incremental modifier to intelligently manipulate XML document content. This

Consider the following class: #include “OtherData.h”class MyClass { OtherData m_data;public: bool func(OtherData data);}; It seems as though this class hides its implementation details efficiently, but is actually doesn’t! The user

Often, email validation code for web applications checks only for the position of @ and period characters, also assuming the @ character will be in the front of period. But

Using the right type of locking on tables is very important to ensure application scalability. Based on the data access pattern, you’d select either Data Page lock or Data Row

t can be tough keeping up with all the new technologies released by Microsoft, but Windows Workflow Foundation (WF) is a technology you do not want to miss. This article

lthough XML Schema was intended to be used to provide a better validation and definition layer for XML than Document Type Definitions (DTDs), certain underlying concepts were translated unintentionally. One

iltering is an important aspect of writing most complex queries. While there may be instances where you don’t need a filter, such as a simple query that retrieves a list