This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revision Both sides next revision | ||
|
cpp:class_templates [2020/05/18 15:33] gthanos |
cpp:class_templates [2020/05/25 07:45] gthanos [Templates κλάσεων] |
||
|---|---|---|---|
| Line 55: | Line 55: | ||
| katherine.setName(" | katherine.setName(" | ||
| | | ||
| + | cout << "--- Printing Values ---" << endl; | ||
| cout << kate << endl; | cout << kate << endl; | ||
| cout << katherine << endl; | cout << katherine << endl; | ||
| cout << studentBox.get() << endl; | cout << studentBox.get() << endl; | ||
| + | cout << "--- Destroying objects ---" << endl; | ||
| } | } | ||
| </ | </ | ||