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.)
Latest CString Alternatives Articles
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.)
A non-MFC alternative to CString.
Includes methods for formatting, searching (using wild cards) and numeric conversion to different data types
CString like class using STL
Updated source code!!
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.
Using output caching is now much easier to use, thanks to .NET 4 and higher, and also can be used in a traditional application.
Learn about the functions, and see a small example of how the particular functions can be used.
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!