1)create a generic dynamic "Last-in-first-out' piece of memory LIFO. dynamic means dynamic memory management (new & dele
Posted: Fri May 20, 2022 11:47 am
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