回复:求助!各位电脑编程高手帮忙!谢谢

来源: 2005-11-24 21:57:52 [旧帖] [给我悄悄话] 本文已被阅读:

This I believe is one of the first exercises given to students in the first data structure course.

The data structure you need to use is Stack. It is a very simple program and code in C++ should not exceed 30 lines.