上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 27 下一页
摘要: In summary, a socket will be identified in a particular set when select returns if: readfds:If listen has been called and a connection is pending, acc 阅读全文
posted @ 2019-04-01 13:48 mingzhang 阅读(315) 评论(0) 推荐(0) 编辑
摘要: https://jingyan.baidu.com/article/b7001fe184e4e50e7382dd4e.html 1 建立安装项目2 要安装的文件都添加到应用程序文件夹3 在应用程序文件夹中创建程序的快捷方式复制到用户“程序”菜单和桌面文件夹你 阅读全文
posted @ 2019-04-01 13:39 mingzhang 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 1 添加头文件搜索目录 项目属性->配置属性->C/C++->常规->添加包含目录 2 添加库文件搜索 项目属性->配置属性->VC++目录->库目录 阅读全文
posted @ 2019-04-01 13:36 mingzhang 阅读(2033) 评论(0) 推荐(0) 编辑
摘要: sed -i '/aaa/{:a;n;s/123/xyz/g;/eee/!ba}' yourfile 如题:aaa123123123123123eee怎么匹配aaa~eee(开始结束字符串确定),然后替换123这样的 先匹配aaa,匹配到后执行大括号里的语句。 n 读取下一行 s/123/xyz/g 阅读全文
posted @ 2018-11-27 15:27 mingzhang 阅读(3893) 评论(1) 推荐(0) 编辑
摘要: import requestsimport sysimport iofrom selenium import webdriverfrom selenium.webdriver.common.action_chains import ActionChainsfrom selenium.webdrive 阅读全文
posted @ 2018-11-21 15:07 mingzhang 阅读(245) 评论(0) 推荐(0) 编辑
摘要: IO 标准库类型和头文件 iostream istream 从流中读取 ostream 写到流中去 iostream 对流进行读写;从 istream 和 ostream 派生而来fstream ifstream 从文件中读取;由 istream 派生而来 ofstream 写到文件中去;由 ost 阅读全文
posted @ 2018-11-04 20:53 mingzhang 阅读(231) 评论(0) 推荐(0) 编辑
摘要: static int proc_detect(const char *procname){ char filename[100] = {0}; sprintf(filename, "%s/%s.pid", LOG_DIR, procname); int fd = open(filename, O_R 阅读全文
posted @ 2018-11-01 16:23 mingzhang 阅读(1328) 评论(0) 推荐(0) 编辑
摘要: 使用Ubuntu下的git客户端 1 安装 sudo apt install git 2 配置个人信息 git config --global user.email "you@example.com" git config --global user.name "Your Name" 3 生成SSH 阅读全文
posted @ 2018-10-31 16:43 mingzhang 阅读(126) 评论(0) 推荐(0) 编辑
摘要: const int * a4 = &a1; ///const data,non-const pointer int * const a5 = &a1; ///non-const data,const pointer int const * const a6 = &a1; ///const data, 阅读全文
posted @ 2018-10-26 09:27 mingzhang 阅读(168) 评论(0) 推荐(0) 编辑
摘要: a). 自己写一个XXX.c文件,比如vf_transform.c,放在libavfilter目录下。代码可以参考其他filter; b) 在libavfilter/allfilters.c添加一行: extern AVFilter ff_vf_transform;c) 修改libavfilter/ 阅读全文
posted @ 2018-10-25 17:32 mingzhang 阅读(1132) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 27 下一页