- 1 Create A Generic Dynamic Last In First Out Piece Of Memory Lifo Dynamic Means Dynamic Memory Management New Dele 1 (31.62 KiB) Viewed 52 times
1)create a generic dynamic "Last-in-first-out' piece of memory LIFO. dynamic means dynamic memory management (new & dele
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
1)create a generic dynamic "Last-in-first-out' piece of memory LIFO. dynamic means dynamic memory management (new & dele
1)create a generic dynamic "Last-in-first-out' piece of memory LIFO. dynamic means dynamic memory management (new & delete)and generic means (template) 6 3)write two functions of put and get for inserting and deleting element 4)also two functions for isEmpty and isElement Pl 5)one "operator equal" overload for checking it later on 6) then we have to make sure that this can be passed as a function parameter (copy constructor) and the default sonstructor 7) show the usage of the whole thing in the main function at the end