P64E2anwer
来源:互联网 发布:俄罗斯留学生活 知乎 编辑:程序博客网 时间:2024/05/17 13:06
因为C++基础知识薄弱面对题目感到无措,又觉得转载毫无意义所以没有及时交付答案,所以现把课堂笔记的答案整理发布,请老师见谅
Error_code copy_stack(stack&dest,stack&source)
{Error_code result=success;
stack temp;
stack_entry item;
while(!source.empty()&result==success)
{result=source.top(item);
result=source.pop();
if(result==success) temp.push(item);
}
while(!temp.empty()&&result=success)
{result=temp.top(item);
result=temp.pop();
if(result==success)
{dest.push(item)
source.push(item);}
return result;
}
- P64E2anwer
- 使用 Visual Basic 设计 Python 的 GUI:Visual Tkinter
- SilkTest武林外史之3-测试Java AWT应用
- poj 1745 Divisibility dp
- Solution to Articulation Points, Bridges, and Biconnected Components Problem
- 今天所学(9.3)
- P64E2anwer
- 转自老赵:SICP书荐,及函数复用的一些解释
- poj 1755 Triathlon(半平面交解不等式)
- Java采用readInt()方法直接读取特定的ZIP压缩文件出现了奇怪的问题
- VIM查看文件编码 文件编码格式转换 文件名编码转换.
- 开源免费的C/C++网络库(c/c++ sockets library)
- 使用PHP登录Ldap服务器
- DialogResult
- sleep和wait有什么区别的三种解释