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.
Learn about something called "Google Protocol Buffers," and watch for later posts on other IoT subjects.
Play with the Fibonacci sequence and prime numbers in this example-driven article.
Translation costs time and money, and can affect the quality of the product being made. Make sure all your team members speak the same language.