码迷,mamicode.com
首页 >  
搜索关键字:cl    ( 1957个结果
POJ 3984 迷宫问题 _BFS
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
POJ 2251 Dungeon Master _BFS
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
HDU 胜利大逃亡 _BFS
#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
HDU 2102 A计划 _BFS
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
POJ 2488 A Knight's Journey _BFS
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
POJ 3278 Catch That Cow _BFS
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数据在用客户端模型访问SharePoint数据首先要添加两个引用,一个是Microsoft.SharePoint.Client,另一个是Microsoft.SharePoint.Client.Runtime在程序要引用Microsoft.SharePoint.Cl...
分类:Web程序   时间:2015-03-08 16:56:04    阅读次数:123
学习<<汇编语言 -王爽>>,自已完成的一道实试题 (6)
实验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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!