摘要: Err http://mirrors.163.com/ubuntu/ trusty/main libtinfo-dev i386 5.9+20140118-1ubuntu1 Could not resolve 'mirrors.163.com'Err http://mirrors.163.com/u 阅读全文
posted @ 2017-10-12 22:48 Malphite 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 下载源码 http://www.live555.com/liveMedia/public/live555-latest.tar.gz http://www.cnblogs.com/dpf-10/p/5623101.html http://www.cnblogs.com/jqctop1/p/43855 阅读全文
posted @ 2017-09-27 12:39 Malphite 阅读(427) 评论(0) 推荐(0) 编辑
摘要: queue.h queue.c main.c 阅读全文
posted @ 2017-09-21 23:07 Malphite 阅读(241) 评论(0) 推荐(0) 编辑
摘要: server client 阅读全文
posted @ 2017-09-16 16:28 Malphite 阅读(286) 评论(0) 推荐(0) 编辑
摘要: server client 参考http://www.cnblogs.com/Malphite/p/7529200.html 阅读全文
posted @ 2017-09-16 10:57 Malphite 阅读(461) 评论(0) 推荐(0) 编辑
摘要: server client 阅读全文
posted @ 2017-09-15 23:49 Malphite 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 一、函数原型 1、FILE *fopen(const char *path, const char *mode); path:要打开文件路径及文件名; mode: r 打开只读文件,该文件必须存在。 r+ 打开可读写的文件,该文件必须存在。 rb+ 读写打开一个二进制文件,只允许读写数据。 rt+ 阅读全文
posted @ 2017-09-14 21:52 Malphite 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 一. 什么是拷贝构造函数 下面看一个类对象拷贝的简单例子 运行程序,屏幕输出100。从以上代码的运行结果可以看出,系统为对象 B 分配了内存并完成了与对象 A 的复制过程。就类对象而言,相同类型的类对象是通过拷贝构造函数来完成整个复制过程的。 下面举例说明拷贝构造函数的工作过程。 CExample( 阅读全文
posted @ 2017-09-14 17:03 Malphite 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 文本模式打开与二进制模式打开的区别 如果以文本打开文件,写入字符的时候,遇到\n 读取文件到数组 char *srcMd5="0789fe2ec66707bc7f8050cfbab94c99"; char dstMd5[33]={0}; int num=0; system("md5sum TestR 阅读全文
posted @ 2017-09-08 17:51 Malphite 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 下面以branchName=>aiMdTest为例介绍 1、 下载code git clone masterUrl iva(另存文件名) 2、 创建并切换分支 cd iva git checkout -b aiMdTest(创建并切换分支到aiMdTest) git checkout命令加上-b参数 阅读全文
posted @ 2017-09-05 13:51 Malphite 阅读(277) 评论(0) 推荐(0) 编辑