Stack Module: Limited Stack Size
For the stack module given in Figure 7-15, suppose that the implementation is to limit stacks to no more than 100 items. Redesign and re-implement the relevant parts of the module that need to be changed. Write a small program to demonstrate this new version of the stack module.
FIGURE 7-15Â Programmer-Defined Stack Module
No comments:
Post a Comment