stackstack模板类的定义在的头文件中;定义stack对象的范例如下;stack
s;stack s;stack的基本操作:s.top() ; //栈顶s.push(a) ; //元素a入栈s.pop();
//栈顶元素出栈s.empty(); //判断栈空,如果为空,则返回trues.s.....
分类:
其他好文 时间:
2014-04-29 20:55:15
阅读次数:
535
用.net做B/S结构的系统,您是用几层结构来开发,每一层之间的关系以及为什么要这样分层?
答:从下至上分别为:数据访问层、业务逻辑层(又或成为领域层)、表示层 数据访问层:有时候也称为是持久层,其功能主要是负责数据库的访问
业务逻辑层:是整个系统的核心,它与这个系统的业务(领域)有关 表示层:是系...
分类:
其他好文 时间:
2014-04-29 20:37:49
阅读次数:
592
no datanode to stop; no namenode to stop; Bad
connection to FS. command aborted.; 网络时断时许错误;
分类:
其他好文 时间:
2014-04-29 20:35:45
阅读次数:
637
Network of SchoolsTime Limit:1000MSMemory
Limit:10000KTotal Submissions:10500Accepted:4189DescriptionA number of schools
are connected to a computer n...
分类:
其他好文 时间:
2014-04-29 20:33:42
阅读次数:
567
index.jsp 1 2 3 4 5 6 图片 7 8 9 10 11 12 13 14 15
...
分类:
其他好文 时间:
2014-04-29 20:28:33
阅读次数:
707
1
/**************************************************************************** 2
* 文件名: main.c 3 * 内容简述: 4 * 5 * 演示的是3个蓝色LED(LED1-LED3...
分类:
其他好文 时间:
2014-04-29 20:22:29
阅读次数:
528
典型的快速幂成应用题意:求x 使得x^e%n=num#includeusing namespace
std;bool funtion(int x,int e,int n,int num){// m^n % k int b = 1; while (e >
0) { i...
分类:
其他好文 时间:
2014-04-29 20:20:25
阅读次数:
414
Ubuntu默认是安装好了tcpdump工具的,如果没有安装的话使用sudo apt-get
install tcpdump即可安装。 (如果遇到tcpdump: no suitable device
found的问题,检查一下是不是在用root权限运行tcpdump,tcpdump只能在root权...
分类:
其他好文 时间:
2014-04-29 20:18:22
阅读次数:
620