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
Become more proficient on the usage of statements to control the flow of execution through a C++/CLI application.
Because it's often easier to address pixels/cells directly than to use Windows Forms or something similar, it's very often simpler to manipulate raw pixel data directly.
The concepts of boxing and unboxing data might be second nature for many, but for newbies it's worth covering. And, the "old hands" may learn something new, as well.
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!