摘要: 3、子网掩码的最大匹配前辍#include"iostream"#include"stdlib.h"#include"winsock2.h"#include"stdio.h"#include"assert.h"usingnamespacestd;#pragmacomment(lib,"ws2_32.lib")#pragmawarning(disable:4267)voidmax_prex(const... 阅读全文
posted @ 2010-08-30 23:22 浪里飞 阅读(1572) 评论(0) 推荐(0) 编辑
摘要: 1、得到cpu占有率的API函数:GetSystemTimes2、得到内存使用情况的API函数:GlobalMemoryStatusExFunctionRetrievesinformationaboutthesystem'scurrentusageofbothphysicalandvirtualmemory.GetPerformanceInfoFunctionRetrievestheperform... 阅读全文
posted @ 2010-08-30 23:22 浪里飞 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 2、大数相加减以前写过一篇日志,不过写的不是很全。http://blog.163.com/zhoumhan_0351/blog/static/399542272010328112344940/今天重写一下,如下://JSON.cpp:定义控制台应用程序的入口点。//#include"iostream"usingnamespacestd;constintM=1000;//先将定最大是位,如果要更大值... 阅读全文
posted @ 2010-08-30 23:21 浪里飞 阅读(1181) 评论(0) 推荐(0) 编辑