A custom String Class
My entire programming experience has been based in C#, so my skills dealing with creating classes is somewhat limited, especially in C++.
I have to create a really simple string class that just does a few operations
(head and tail functions, concatenation operator, assignment operator and the input and output operators >> <<)
I also need a default constructor, and two other constructors for handling single characters and copying strings.
I want to be able to include it at the top of a program.
If anyone has any suggestions as to the best way to approach creating a class with just these simple requirements I would greatly appreciate any help.
Thanks in advance!
|