Hey guys wondering if anyone could help me with a few practice midterm problems. Im having trouble understanding what the problems asking.
Suppose a class named undostack implernents a stack that allows unlimited
pushes by forgetting old data, as described above, using a circulan array. The data
is stored in a private array member declared as Objecfdatap. private data
member B is the index of the bottom element in thd shck. private data member T
is the top element of the stack. Private data member C is a count of how many
objects are in the stack. Below is a pictorial representation.
and i have to write the constructor for the undo method