06 2020 档案

摘要:参考文章: 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 阅读(511) 评论(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 阅读(138) 评论(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 阅读(153) 评论(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 阅读(464) 评论(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 阅读(230) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-06-09 14:12 cicero 阅读(0) 评论(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 阅读(335) 评论(0) 推荐(0) 编辑
摘要:官方例子 // thread example #include <iostream> // std::cout #include <thread> // std::thread #include <unistd.h> using namespace std; void foo() { // do s 阅读全文
posted @ 2020-06-08 15:20 cicero 阅读(192) 评论(0) 推荐(0) 编辑

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