随笔 - 192,  文章 - 0,  评论 - 2,  阅读 - 25万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
09 2017 档案
live555 学习资料
摘要:下载源码 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 阅读(435) 评论(0) 推荐(0) 编辑
循环队列实现
摘要:queue.h queue.c main.c 阅读全文
posted @ 2017-09-21 23:07 Malphite 阅读(243) 评论(0) 推荐(0) 编辑
socket 聊天室实现
摘要:server client 阅读全文
posted @ 2017-09-16 16:28 Malphite 阅读(287) 评论(0) 推荐(0) 编辑
socket 映射服务器--(可处理多客户端连接(fork),显示退出信息)
摘要:server client 参考http://www.cnblogs.com/Malphite/p/7529200.html 阅读全文
posted @ 2017-09-16 10:57 Malphite 阅读(465) 评论(0) 推荐(0) 编辑
socket 映射服务器程序
摘要:server client 阅读全文
posted @ 2017-09-15 23:49 Malphite 阅读(423) 评论(0) 推荐(0) 编辑
标准I/O读写文件
摘要:一、函数原型 1、FILE *fopen(const char *path, const char *mode); path:要打开文件路径及文件名; mode: r 打开只读文件,该文件必须存在。 r+ 打开可读写的文件,该文件必须存在。 rb+ 读写打开一个二进制文件,只允许读写数据。 rt+ 阅读全文
posted @ 2017-09-14 21:52 Malphite 阅读(245) 评论(0) 推荐(0) 编辑
c++ 拷贝构造函数
摘要:一. 什么是拷贝构造函数 下面看一个类对象拷贝的简单例子 运行程序,屏幕输出100。从以上代码的运行结果可以看出,系统为对象 B 分配了内存并完成了与对象 A 的复制过程。就类对象而言,相同类型的类对象是通过拷贝构造函数来完成整个复制过程的。 下面举例说明拷贝构造函数的工作过程。 CExample( 阅读全文
posted @ 2017-09-14 17:03 Malphite 阅读(218) 评论(0) 推荐(0) 编辑
c++ 文件读写
摘要:文本模式打开与二进制模式打开的区别 如果以文本打开文件,写入字符的时候,遇到\n 读取文件到数组 char *srcMd5="0789fe2ec66707bc7f8050cfbab94c99"; char dstMd5[33]={0}; int num=0; system("md5sum TestR 阅读全文
posted @ 2017-09-08 17:51 Malphite 阅读(229) 评论(0) 推荐(0) 编辑
Git 创建分支与合并分支
摘要:下面以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 阅读(281) 评论(0) 推荐(0) 编辑
linux 将一个文件分解成多个不同名文件
摘要:1.通过c直接实现 #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> int fileNum=0; ch 阅读全文
posted @ 2017-09-02 23:01 Malphite 阅读(1047) 评论(0) 推荐(0) 编辑
shell 中变获取值及运算的几种方法
摘要:num=$(tail ./image/1.txt -n 1) num=$(($num+1)) 阅读全文
posted @ 2017-09-02 22:56 Malphite 阅读(247) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示