From 6db8e09d53f9e108fb4ce00c81cbfb67ae0465c7 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 15 Apr 2022 09:37:35 +0300 Subject: Separated wordCollection count into two variable and fixed functions --- .../Object-oriented Programming/Solutions Sem. 08/ex3/WordCollection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Year 1/Object-oriented Programming/Solutions Sem. 08/ex3/WordCollection.h') diff --git a/Year 1/Object-oriented Programming/Solutions Sem. 08/ex3/WordCollection.h b/Year 1/Object-oriented Programming/Solutions Sem. 08/ex3/WordCollection.h index f7a7142..fdd3363 100644 --- a/Year 1/Object-oriented Programming/Solutions Sem. 08/ex3/WordCollection.h +++ b/Year 1/Object-oriented Programming/Solutions Sem. 08/ex3/WordCollection.h @@ -5,7 +5,8 @@ class WordCollection { DynStr* words; int* sortMap; - int count; + int sortMapCount; + int wordsCount; int length; void free(); -- cgit v1.3.1-26-gb76a