Introduction - If you have any usage issues, please Google them yourself
Stack, queue chain to achieve
Basic Requirements: The program is designed to have a simple DOS interface, user-friendly operation, complete the following functions:
With chain storage, to achieve stack stack, stack, take the top element function.
With chain storage, with a header node to achieve the cycle queue into the team, a team, take the team s first element, find the queue length.
Find the largest element in the queue.
Achieved using a stack of queue, set against the elements, and outputs the results to a text file.
Improve the requirements:
Run-time system to read from a text file stack, queue element information, can run the end of the stack, queue information is saved to the latest element in the corresponding file.