Learn how to easily measure the height and width needed to display text values using .NET classes.
Latest String Programming Articles - Page 2
Managed Extensions: Parsing CSV Files with Regular Expressions
Tom Archer illustrates how to parse comma-delimited text—when the data contains quotes, commas, and blanks—and return the data in a managed array.
Strings and Performance in .NET
STL, String, StringBuilder, character arrays '— How do you get the best performance when working with strings?
Universal STL-Based Template String Class
Unite the best features from the STL's basic_string and MFC's CString classes using an STL-based template string class. Allows all classes based on this template to be completely interactive with each other. (The article and source code were updated.)
Guide to BSTR and C String Conversions
Converting to/from C strings and various Visual Basic BSTR string types.
CPerlString - A Class to Utilize Perl String Functions
String manipulation and regular expressions have always been a strength of Perl. Here are two classes that encapsulate some of Perl's most useful string functions for C++. (The source code was updated.)
Latest Developer Videos
More...Latest CodeGuru Developer Columns
MFC Integration with the Windows Transactional File System (TxF)
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
.NET Framework: Collections and Generics
The original release of the .NET Framework included collections as .NET was introduced to the Microsoft programming world. The .NET Framework 2.0 introduced generics to complement the System.Collections namespace and provide a more efficient and well performing option. Read on to learn more...

Obtaining External Window Handles and Window Captions with Visual Studio 2012
Learn how to obtain an outside application's window handle, in order to manipulate that window from inside your program, using either VB.NET or C#.

SOLID Principles in C# - An Overview
SOLID principles form the base for writing good and clean object oriented code in C#. Learn about the S.O.L.I.D principles and explore C# coding samples for each.
