- 博客(3)
- 收藏
- 关注
原创 C语言通过关键字从文本中提取有效信息
/* 通过关键字,从文件中提取有用的信息 */ int FindInfoFromFile(char *keyword, char *FilePath, char *OutString) { char *pattern; int x, z, lno = 0, cflags = 0; char ebuf[128], lbuf[256]; FILE *fp =
2014-12-17 18:00:26
3757
原创 利用popen实现的system函数
//安全执行shell命令函数 //如果不需要shell命令返回结果,pResult赋值为NULL int sSystem(const char *pCmd, char *pResult, int len) { const char *command; char result_buf[1024]; int rc = 0; // 用于接收命令返回值 FI
2014-12-17 17:47:57
389
原创 用C代码实现des加密算法
/************************************************************************* > File Name: Des.c > Author:TAO.HU > Mail: > Created Time: 2014年12月17日 星期三 15时58分30秒 ***********************************
2014-12-17 17:39:26
6654
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅