#include"stdafx.h"#include #include #include using
namespace std;BOOL KillProcess(DWORD ProcessId){ HANDLE
hProcess=OpenProcess(PROCESS_TERMINATE,FALS...
分类:
其他好文 时间:
2014-07-22 23:15:36
阅读次数:
312
1、重载构造函数和减法运算__init__,__sub__ #file
number.py class Number: def __init__(self,data): self.data = data def
__sub__(self,other): return Number(se...
分类:
编程语言 时间:
2014-07-22 23:15:36
阅读次数:
510
http://blog.csdn.net/iicy266/article/details/11906189这篇文章很好,提醒我们熟悉函数原型的重要性
分类:
其他好文 时间:
2014-07-22 23:15:36
阅读次数:
283
1、MFC
微软基础类库(MicrosoftFoundationClasses)的简称,是微软公司实现的一个c++类库,主要封装了大部分的windows
API函数。2、VFW VFW(Video for Windows)是Microsoft推出的关于数字视频的一个软件开发包,VFW的核心是AV.....
分类:
其他好文 时间:
2014-07-22 23:14:36
阅读次数:
405
一、简介REmoteDIctionaryServer(Redis),redis是一个基于内存的单机key/value系统,类似memcached,但支持value为多种形式,包括:字符串(string)、链表(list)、集合(set)、有序集合(sortedset)和hashtable二、特点1优...
分类:
其他好文 时间:
2014-07-22 23:14:34
阅读次数:
462
#include#includeusing namespace std;#define maxn
200005class Node{public: int l,r; int add;//附加值 int sum;}node[maxn];int
getRight(int n){//获得...
分类:
其他好文 时间:
2014-07-22 23:14:14
阅读次数:
431
#include #include using namespace std;int
s[4],p[4];long long llmax(long long a,long long b){ return a>b?a:b;}int
main(){ int t; cin>>t; int c=1; whil...
分类:
其他好文 时间:
2014-07-22 23:13:54
阅读次数:
307
其实就是并查集,写麻烦了,同样的代码第一次提交wa了,第二次就过了。 1 #include 2
#include 3 4 #define MAXNUM 55 5 #define UP 0 6 #define RIGHT 1 7 #define DOWN 2
8 #def...
分类:
其他好文 时间:
2014-07-22 23:13:53
阅读次数:
310
//华为编程:筷子,找到第一个单对的筷子#include #define max 37int
main(){ int n,i,j; int a[max]; int flag=0; int error=-1; scanf("%d",&n);
if(n>max) ...
分类:
其他好文 时间:
2014-07-22 23:13:33
阅读次数:
339
/************ PID算法(C语言) ************/ #include
#include struct _pid { int pv; /*integer that contains the process value*/ int
sp; /*integ...
分类:
编程语言 时间:
2014-07-22 23:12:56
阅读次数:
447