From 1e4762258f3e2d7db1045f3034e870f84cea7977 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 15 Apr 2022 09:44:49 +0300 Subject: Moved compare to DynStr --- Year 1/Object-oriented Programming/Solutions Sem. 08/ex3/DynStr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Year 1/Object-oriented Programming/Solutions Sem. 08/ex3/DynStr.h') diff --git a/Year 1/Object-oriented Programming/Solutions Sem. 08/ex3/DynStr.h b/Year 1/Object-oriented Programming/Solutions Sem. 08/ex3/DynStr.h index 8b31da3..5978a72 100644 --- a/Year 1/Object-oriented Programming/Solutions Sem. 08/ex3/DynStr.h +++ b/Year 1/Object-oriented Programming/Solutions Sem. 08/ex3/DynStr.h @@ -14,4 +14,5 @@ public: ~DynStr(); const char* get_str() const; + int compare(const char* other) const; }; -- cgit v1.3.1-26-gb76a