add pointer

add "dynamic" heap array
add polymorphic
This commit is contained in:
2025-03-26 12:44:05 +01:00
parent abb1ea4a38
commit 4b6ac6a484
13 changed files with 339 additions and 1 deletions
+2
View File
@@ -3,5 +3,7 @@
class ICompareable
{
public:
virtual ~ICompareable() {}
virtual int Compare(ICompareable* other) = 0;
};