上一页 1 ··· 402 403 404 405 406 407 408 409 410 ··· 622 下一页

2020年7月31日

摘要: #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdlib.h> #include <assert.h> #include <stdio. 阅读全文
posted @ 2020-07-31 14:56 lydstory 阅读(137) 评论(0) 推荐(0)

2020年7月30日

摘要: FILE* file = fopen(, "w"); if (!file) { return false; } flock(fileno(file), LOCK_EX); //加锁 fwrite( , 1, , file); flock(fileno(file), LOCK_UN); //解锁 fc 阅读全文
posted @ 2020-07-30 16:38 lydstory 阅读(153) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-07-30 15:11 lydstory 阅读(109) 评论(0) 推荐(0)
摘要: 错误信息 double free or corruption (out): 0x00000000011abe70 ***问题分析 基本上根据题目判定,类型没得跑,内存问题。 所以会有几种情况: 1. 内存重复释放,看程序中是否释放了两次空间(一般不会是这种情况,毕竟。。太明显) 2. 内存越界。(大 阅读全文
posted @ 2020-07-30 11:41 lydstory 阅读(2167) 评论(0) 推荐(0)

2020年7月29日

摘要: 多线程 多进程 永恒的话题 》 c++ 淘汰了吗 阅读全文
posted @ 2020-07-29 22:42 lydstory 阅读(91) 评论(0) 推荐(0)
摘要: 已连接到log服务器 阅读全文
posted @ 2020-07-29 18:47 lydstory 阅读(102) 评论(0) 推荐(0)
摘要: char *get_cur_version() { static char line[128]; memset(line,0,sizeof(line)); FILE *fp; fp = fopen("/etc/version","r"); if( NULL == fp) return NULL; f 阅读全文
posted @ 2020-07-29 11:53 lydstory 阅读(143) 评论(0) 推荐(0)
摘要: flock(fd,LOCK_EX); flock(fd,LOCK_UN); 阅读全文
posted @ 2020-07-29 11:52 lydstory 阅读(147) 评论(0) 推荐(0)
摘要: 源码空白 makefile 也可以编译 阅读全文
posted @ 2020-07-29 11:31 lydstory 阅读(106) 评论(0) 推荐(0)
摘要: 软件编码工程思想 软件编码工程思想 软件编码工程思想 》编码 工程 思想,流程?? 阅读全文
posted @ 2020-07-29 10:59 lydstory 阅读(73) 评论(0) 推荐(0)
上一页 1 ··· 402 403 404 405 406 407 408 409 410 ··· 622 下一页

导航