diff options
Update MyString.h
1 files changed, 3 insertions, 2 deletions
| -rw-r--r-- | Sem. 09/MyString (with move)/MyString.h | 5 |
diff --git a/Sem. 09/MyString (with move)/MyString.h b/Sem. 09/MyString (with move)/MyString.h index b37733a..57c298a 100644 --- a/Sem. 09/MyString (with move)/MyString.h +++ b/Sem. 09/MyString (with move)/MyString.h @@ -8,6 +8,8 @@ class MyString void copyFrom(const MyString& other); void free(); + + void concat(const MyString& other); public: MyString(); @@ -23,7 +25,6 @@ public: ~MyString(); size_t getSize() const; - void concat(const MyString& other); const char* c_str() const; @@ -41,4 +42,4 @@ bool operator<=(const MyString& lhs, const MyString& rhs); bool operator<(const MyString& lhs, const MyString& rhs); -//MyString name = "sdfsdf"
\ No newline at end of file +//MyString name = "sdfsdf" |
