- 博客(5)
- 收藏
- 关注
原创 c++实现计算机中的文件复制
#include using namespace std; #include void main(int argc, char *argv[]) { FILE *fpIn = NULL; FILE *fpOut = NULL; if(argc != 3) { cout exit(1); } fpIn = fopen(argv[1],"rb"); if(fpIn == N
2015-04-27 11:34:13 719
转载 内存泄露工具(用hash表实现)
#include #include #include #include #define DefaultSize 7 using namespace std; struct Node { char *pname;//文件名字 int line;//行号 int size;//大小 long lo
2015-04-21 11:13:18 293
转载 内存泄露检测工具
#include #include using namespace std; struct MemNode { char *pname;//文件名 int line;//文件所在行 int size;//内存泄漏大小 MemNode *link; }; MemNode *node=NULL
2015-04-21 11:10:09 235
转载 运行成功的最新进度条代码
源代码 #include "process.h" #include #include #include void process() { int i=1; char buf[_SIZE_]; memset(buf, ' ', sizeof(buf)); buf[0]='['; buf[101]=']'; buf[1
2015-04-07 17:10:38 474
转载 limux下进度条代码
1 建⽴proccess.h 代码如下: #ifndef _PROCCESS_ #define _PROCCESS_ #include #include #include #define _SIZE_ 103 void process(); #endif 2.建⽴proccess.c #include "proccess.h" void process() { i
2015-04-07 15:46:50 290
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人