Design and implement a String class that satisfies the following:

Q

Design and implement a String class that satisfies the following:
* Supports embedded nulls
* Provide the following methods (at least)
o Constructor
o Destructor
o Copy constructor
o Assignment operator
o Addition operator (concatenation)
o Return character at location
o Return substring at location
o Find substring
* Provide versions of methods for String and for char* arguments

✍: Guest

A
(This question has not been answered yet. If you know the answer, please share it in a comment below.)

2012-04-18, 2990👍, 0💬