2个栈S1,S2 S1用来接收或者删除终端输入的数据,直到输入换行命令 将S1的数据全部转入S2中 将S2的数据写入数据区 转载于:https://www.cnblogs.com/innocence-XiaoMing/p/4537199.html