![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
文章平均质量分 70
h136814816
这个作者很懒,什么都没留下…
展开
-
利用popen实现的system函数
//安全执行shell命令函数//如果不需要shell命令返回结果,pResult赋值为NULLint 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 · 341 阅读 · 0 评论 -
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 · 3642 阅读 · 0 评论 -
用C代码实现des加密算法
/*************************************************************************> File Name: Des.c> Author:TAO.HU> Mail:> Created Time: 2014年12月17日 星期三 15时58分30秒***********************************原创 2014-12-17 17:39:26 · 6515 阅读 · 0 评论