add smart pointers

add polymorphism
add destructor & copy constructor
add pointer-pointer
This commit is contained in:
2025-09-22 18:22:03 +02:00
parent d8f6014fab
commit 3b35b973c9
13 changed files with 208 additions and 7 deletions
+4 -1
View File
@@ -3,4 +3,7 @@
void changeInteger(int n);
int changeIntegerPerReturn(int n);
bool changeIntegerPerPointer(int* pN);
bool changeIntegerPerReference(int& n);
bool changeIntegerPerReference(int& n);
bool createInteger(int* pN);
bool createIntegerWithPointerPointer(int** ppN);