A String Class

A simple string class was developed to keep track of the operations on a matrix. The matrix name is private member of a matrix, but adequate access is given for modifying it from matrix member class functions. Implementing strings as a class avoids some of the overhead normally associated with character arrays in C. The allocation and length control is encapsulated in the string member functions. The string class is loosely associated with the string classes in Schildt [#!sh:c++!#].



Subsections