The stub of
isEmpty()
should look like this:
bool Stack::isEmpty() { }
The
isEmpty()
method should return
true
when
myTop
equals zero.