上一页 1 2 3 4 5 6 ··· 29 下一页
摘要: 转载自雷神博客: https://blog.csdn.net/leixiaohua1020/article/details/38868499 /** * 最简单的基于FFmpeg的视频播放器2(SDL升级版) * Simplest FFmpeg Player 2(SDL Update) * * 雷霄 阅读全文
posted @ 2020-09-17 09:20 cicero 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 转:https://blog.csdn.net/qq_15821883/article/details/100096659?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.ed 阅读全文
posted @ 2020-08-19 11:14 cicero 阅读(1423) 评论(0) 推荐(0) 编辑
摘要: //在Ubuntu搭建环境 apt-get install sqlite3apt-get install libsqlite3-dev //创建表 CREATE TABLE "stu" ( "id" INTEGER PRIMARY KEY NOT NULL, "name" TEXT NOT NULL 阅读全文
posted @ 2020-08-12 14:13 cicero 阅读(281) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/q278233370/article/details/99681142 输入一个目录,输出目录下面所有文件的大小时间戳 #include <unistd.h> #include <stdio.h> #include <errno.h> #include < 阅读全文
posted @ 2020-08-10 11:05 cicero 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 参考文章: https://blog.csdn.net/litao31415/article/details/100144400?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7 阅读全文
posted @ 2020-06-30 18:19 cicero 阅读(459) 评论(0) 推荐(0) 编辑
摘要: epoll_server.c //epoll_server.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <arpa/inet.h> #include <sys/so 阅读全文
posted @ 2020-06-30 14:12 cicero 阅读(133) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <assert.h> int main () { int keyboard; int ret,i; char c; 阅读全文
posted @ 2020-06-30 14:09 cicero 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 编译qt时。configure 添加选项 -qt-freetype 代码增加: //设置中文字体 a.setFont(QFont("wenquanyi", 16)); //设置中文编码 #if _MSC_VER QTextCodec *codec = QTextCodec::codecForName 阅读全文
posted @ 2020-06-30 13:41 cicero 阅读(448) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <stdlib.h> #include <unistd.h> #include <fstream> using namespace std; void dofile(char *filename) { FILE *f;long len;cha 阅读全文
posted @ 2020-06-19 20:59 cicero 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 参考c++文档的可变参数打印进行修改 #include <stdio.h> #include <stdarg.h> #include <time.h> FILE * pFile = NULL; void WriteFormatted (const char* pfileName , const ch 阅读全文
posted @ 2020-06-09 11:23 cicero 阅读(332) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 29 下一页