1 #include 2 #include 3 #include 4 #include 5 #define CL(x, y) memset(x, y, sizeof(x)) 6 using namespace std; 7 const int MAX = 5; 8 int N, i, j,...
分类:
其他好文 时间:
2015-03-10 21:26:09
阅读次数:
150
1 #include 2 #include 3 #include 4 #include 5 #define CL(x, y) memset(x,y,sizeof(x)) 6 using namespace std; 7 const int MAX = 33; 8 int A...
分类:
其他好文 时间:
2015-03-10 21:05:44
阅读次数:
163
#include #include #include #include #define CL(x, y) memset(x,y,sizeof(x))using namespace std;const int MAX = 55;int N, T, A, B, C, i, j, k;int used[M...
分类:
其他好文 时间:
2015-03-10 16:53:01
阅读次数:
187
1 #include 2 #include 3 #include 4 #include 5 #define CL(x,y) memset(x,y,sizeof(x)) 6 using namespace std; 7 struct node 8 { 9 int x...
分类:
其他好文 时间:
2015-03-09 22:22:14
阅读次数:
238
1 #include 2 #include 3 #include 4 #include 5 #define CL(x, y) memset(x, y, sizeof(x)) 6 using namespace std; 7 const int MAX = 28; 8 int N, a, b...
分类:
其他好文 时间:
2015-03-09 17:32:06
阅读次数:
121
1 #include 2 #include 3 #include 4 #include 5 #define CL(x, y) memset(x,y,sizeof(x)) 6 using namespace std; 7 const int MAX = 200005;//100005太小了?...
分类:
其他好文 时间:
2015-03-09 14:13:27
阅读次数:
166
用客户端模型访问SharePoint数据在用客户端模型访问SharePoint数据首先要添加两个引用,一个是Microsoft.SharePoint.Client,另一个是Microsoft.SharePoint.Client.Runtime在程序要引用Microsoft.SharePoint.Cl...
分类:
Web程序 时间:
2015-03-08 16:56:04
阅读次数:
123
实验13编写、应用中断例程第一小题(材料详见书上262页)题目描述:(1)编写并安装int7ch中断例程,功能为显示一个用0结束的字符串,中断例程安装在0:200处。参数:(dh)=行号,(dl)=列号,(cl)=颜色,ds:si指向字符串首地址。以上中断例程安装成功后,对下面的程序进行单步跟踪..
分类:
编程语言 时间:
2015-03-06 19:17:00
阅读次数:
287
外观模式(Facade Pattern):为了系统中的一组接口提供一个一致的界面,此模式定义了一个高层接口,这个接口使得这一子系统更加容易使用。外观模式(Facade Pattern)结构图 Facade外观类知道哪些子系统负责处理请求,将客户的请求代理给适当的子系统对象。SubSystem Cl....
分类:
其他好文 时间:
2015-03-06 13:57:28
阅读次数:
111
包含动态内存分配的类需要自定义拷贝构造函数。无定义默认为浅拷贝,此时参数对象和创建对象的指针成员指向同一块内存,调用二者的析构函数时第一对象调用释放内存成功,第二个对象会再次进行释放内存,此时运行时出错double free故:应定义,且为深拷贝浅拷贝实例代码: 1 #include 2 3 cl....
分类:
其他好文 时间:
2015-03-06 12:30:03
阅读次数:
226