Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //--------------- MYSTRING.CPP ---------------
- // The class definition for fractions.
- //
- // Michael Arciola
- #include "mystring.h"
- #include <typeinfo>
- MyString::MyString() // -------------------------------------------------- // #1
- {
- length = 0;
- data = new char[length + 1];
- data[0] = '