The Sizeof() Operator Only Works at Compile Time
The Sizeof () operator only works at compile time and doesn’t evaluate anything at run time. In the following code snippet, the func() function is never called. The inner sizeof()
The Sizeof () operator only works at compile time and doesn’t evaluate anything at run time. In the following code snippet, the func() function is never called. The inner sizeof()
NET 2.0’s System.Security namespace includes the SecureString class, which lets you create encrypted strings and delete them from memory when they’re no longer needed. You can even make a string
nfrared communication is one of the most common forms of communication for devices today. If you’ve ever used a TV remote control, you’ve experienced the convenience of using infrared communications.
nterprise Application Integration (EAI) is a collection of architectural principles combined to integrate new and existing applications both within the enterprise and in business-to-business or partner integration scenarios. Building on
ee if you can tell what’s wrong with the following sequence: ND, MN, WI, SD, NE, KS, MO, IL, IN. Unless you have a PhD in North American geography, you
ny application you write may require some sort of caching to meet the performance requirements of the business. Until the release of Enterprise Library, developers were forced to roll out
When sending emails via SMTP in .NET, developers seldom check to ensure the SMTP service is installed and running. Here’s some code to perform the check and start the service
tend to get random e-mail requests for programming help. I do the best I can to solve all the issues that come up, but generally refer random questions to the
his article presents an advanced technique that lets you bind multiple editable line items to a collection using Windows Presentation Foundation and the Presentation Model pattern. It assumes you are
n the recent “Race to Linux 2.0” competition, a .NET programming event hosted by DevX, .NET developers were invited to get ASP.NET applications up and running on Linux. The three-part
he Windows Reliability and Performance Monitor (RPM) (see Figure 1) is a new application in Windows Vista that unifies the approach to monitoring real-time and historical reliability and performance data.
he new C++09 nullptr keyword designates an rvalue constant that serves as a universal null pointer literal, replacing the buggy and weakly-typed literal 0 and the infamous NULL macro. nullptr
The Microsoft Visual J# .NET 1.1 Class Library (vjslib.dll) contains methods you can use to compress a file. The following code demonstrates how to use them. /* Code to zip
There have been a lot of enhancements to existing features in Java 1.5 (5.0). One of the simplest improvements is to the most commonly used for loop. Here’s how it
This tip shows you how to implement the fog filter using the RGBImageFilter class. import java.awt.image.*;import java.awt.*;public class FogFilter extends RGBImageFilter{int fogg; //0<=t
smart tag is a panel that displays next to a control and contains a list of commonly used properties. For example, in the Visual Studio (VS) editor, the Windows Forms
any of us have found ways to forget about grammar since finishing school and entering the “real world” of business and commerce. Unfortunately the division between academia and the business
ow difficult do you think it would be to create a SQL tool like Query Analyzer or SqlServer Management Studio? How about a programming and execution framework for VBScript? Or
orking with SharePoint can get complicated. Even seemingly basic tasks are wrapped up in so many layers of automation and support that it can be hard to sort out what
ustom SharePoint lists are like tables in a traditional database; in some ways they’re even better. But as organizations adopt this new data store, they introduce additional complexities in integrating
ata binding is an indispensable feature of ASP.NET that links a user interface element with the underlying data store. ASP.NET 1.1 restricted this data binding to one direction only?from the
t is no coincidence that AJAX and RESTful web services gained the attention of developers in their respective stages of infancy. Both technologies emerged during times that were dominated by
nit testing is a well-known practice that helps developers validate the functionality of components and identify bugs early when they are easy to fix. By leveraging frameworks like JUnit, unit
wo heads are better than one, goes the old saying, and that can be as true for mobile applications as it is the people who write them. Whether you’re looking
f you’ve done any open-source database development recently, you probably already know that when it comes to selecting a database for your application, you have a plethora of choices. You
hen you think about the success of the Internet, your mind probably goes to the vast libraries of digital content: explosive social networks linking gamers, grannies, geeks, and gamblers; torrents
Use the following code to convert from Centigrade to Fahrenheit and vice versa: Function CentToFaren(ByVal cent As Double) As Double Return cent / 0.55555555556 + 32End FunctionFunction FarenToCent(ByVal faren As
In principle, in EJB 3.0, you can access a bean from another bean by looking it up in the interface (local or remote). Here are two solutions for doing that:
The #flastmod and #fsize server-side includes provide important information on web pages hosted by classic ASP web sites. The #flastmod include prints the date when the file was last modified.
ince AJAX first appeared, developer interest in JavaScript has increased exponentially?and toolsets for building functionality in JavaScript have burgeoned as well. One of the latest tools for JavaScript-related development is