1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 委托复习 8 {.....
分类:
其他好文 时间:
2014-06-18 22:04:02
阅读次数:
118
1 #include "iostream" 2 #include "windows.h" 3 #define MAX 0x7fffffff 4 using namespace std; 5 6 void merge(int s,int q,int e,int A[]){ 7 int i,...
分类:
其他好文 时间:
2014-06-18 21:52:18
阅读次数:
234
本示例使用比较函数,函数对象进行vector的排序与查找操作。#include #include using namespace std;#define MAX_NAME_LEN 32struct Student{ int no; char name[MAX_NAME...
分类:
其他好文 时间:
2014-06-18 21:14:11
阅读次数:
144
程序有关介绍请参考图书3.6.1节内容 程序运行结果如下图: #include #include #include#include using namespace std; class MapPoint{public: double longitude; double latitude;};clas...
分类:
其他好文 时间:
2014-06-18 21:07:04
阅读次数:
291
#include #include #include #include using namespace std; int SCREEN_WIDTH = 400; //屏幕尺寸 int SCREEN_HEIGHT = 400; int posx1 = 150; int posy1 = 200; int...
分类:
其他好文 时间:
2014-06-18 20:57:18
阅读次数:
238
课程设计用归并排序出现了一些有趣的问题, 首先是B题, 配套的代码第41行S相当于临时空间, 1 #include 2 using namespace std; 3 #define MAXSIZE 1000001 4 typedef s...
分类:
其他好文 时间:
2014-06-18 19:59:04
阅读次数:
261
wcf服务using System;using System.Collections.Generic;using System.Linq;using System.Runtime.Serialization;using System.ServiceModel;using System.Service...
分类:
其他好文 时间:
2014-06-18 19:06:34
阅读次数:
222
C++对文件处理没有shell等脚本语言方便,但也不是无计可施。#include #include #include #include using namespace std;int main(){ ifstream in("a.txt"); ofstream out("b.txt"); if(!i...
分类:
编程语言 时间:
2014-06-18 18:27:39
阅读次数:
231
第一步:事件总线和事件聚合器 【1】事件总线IEventBus IUnitOfWork.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading...
分类:
其他好文 时间:
2014-06-18 16:58:56
阅读次数:
1005
做算法题时实现的一份大数乘法运算代码。没来得及详细整理,读者可以参考一下。代码可以在VS2005上直接运行。#include "stdafx.h"#include #include #include using namespace std;#define OK 0#define ERROR ...
分类:
其他好文 时间:
2014-06-18 16:47:30
阅读次数:
202