Skip to main content

A String Class Library for C++

01 January 1989

New Image

There are a few basic data structures that appear in almost every non-trivial computer program. One of these is the character string. The code for manipulation and storage management of strings tends to be scattered throughout C programs, since the operations are typically only a few lines long apiece. This leads to unnecessarily hard-to-read programs, since string manipulations are intermixed with problem-specific operations, and to program bugs, since some of the operations can be tricky.