String Builder: Building Strings with Streams on the Stack
Discover how to build strings using streams, in one line, using only the stack as storage.
Discover how to build strings using streams, in one line, using only the stack as storage.
Learn how to build client applications that use SOAP based web services.
Understand the benefits of using the STL's std::string class over the C-like character arrays.
Read a guide to dealing with some of the problems encountered with multiple inheritance.
Learn about fast and portable URI encoding and decoding functions that use std::string as the argument and return type, and do the buffer conversion, including '\0'.
Learn how to use this simple, yet useful, feature of the Regex class to delimit strings in your Managed C++ applications.
Learn how to easily measure the height and width needed to display text values using .NET classes.
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.
STL, String, StringBuilder, character arrays '— How do you get the best performance when working with strings?
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.)
Converting to/from C strings and various Visual Basic BSTR string types.
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.)
Articles gives simple macros to achieve switch-case on strings. The same philosophy can be extended for switch-case on variables.
A vsscanf() implementation for Windows based on the API available on Unix.
A simple routine to allow CString formatted strings to be used wherever a regular LPCSTR would be used, without needing to define a CString (ie, dynamically created and formatted LPCSTR strings)
Two functions with very good performance that can be used to format a thousand separator and more.
The class provided here extends the CString class by one function: Scanf().
This article will describe how to provide multiple language resource strings using the RT_MESSAGETABLE format in a single .mc file.
Includes methods for formatting, searching (using wild cards) and numeric conversion to different data types
Very nice CString extension classes that provide helper functions for loading resource strings and formatting strings
Class to manipulate UNICODE string on Window 95/98