摘要: #ifdef HAVE_CONFIG_H #include<config.h> #endif #include<stdio.h> #include<stdlib.h> #include<sys/types.h> #include<sys/stat.h> #include<fcntl.h> #incl 阅读全文
posted @ 2020-12-19 16:52 1112+ 阅读(52) 评论(0) 推荐(0) 编辑
摘要: #define RECORDLEN 32 struct jtRecord { int key; char other[RECORDLEN-sizeof(int)]; }; #ifdef HAVE_CONFIG_H #include<config.h> #endif 阅读全文
posted @ 2020-12-19 16:48 1112+ 阅读(45) 评论(0) 推荐(0) 编辑
摘要: #include<unistd.h> #include<sys/types.h> #include<sys/stat.h> #include<fcntl.h> #include<stdio.h> #include<stdlib.h> #include<memory.h> #include"HashF 阅读全文
posted @ 2020-12-19 16:42 1112+ 阅读(74) 评论(0) 推荐(0) 编辑
摘要: #include<unistd.h> #include<sys/stat.h> #define COLLISIONFACTOR 0.5 struct HashFileHeader { int sig; int reclen; int total_rec_num; int current_rec_nu 阅读全文
posted @ 2020-12-19 16:33 1112+ 阅读(32) 评论(0) 推荐(0) 编辑
摘要: #include "math.h" #include "sched.h" #include "pthread.h" #include "stdlib.h" #include "semaphore.h" #include "stdio.h" typedef struct{ char task_id; 阅读全文
posted @ 2020-12-03 22:12 1112+ 阅读(73) 评论(0) 推荐(0) 编辑
摘要: #include "sched.h" #include "pthread.h" #include "stdio.h" #include "stdlib.h" #include "semaphore.h" #include <string.h> int producer(void *args); in 阅读全文
posted @ 2020-12-02 20:12 1112+ 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 1、当初你是如何做出选择计算机专业的决定的? ~~~ 当初选择网络专业主要是因为学费便宜同时工资高,我过去还考虑着选华侨大学或者福建师范大学的物联网专业,但最后我还是选了网络专业。 之前其实我自己也不知道选什么专业,但是那时候我知道我很缺钱,网络专业是当时我看到的所有专业中工资最高的专业,其实我在之 阅读全文
posted @ 2019-06-28 20:32 1112+ 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1.本周学习总结(0 2分) 1.思维导图 2.谈谈你对查找运算的认识及学习体会。 ~~~ 这两周学了很多查找方面的知识,查找是一个很重要的学习板块,查找分为线性表查找,树表查找,哈希表查找等,顺序表查找包括顺序查找,折半查找,索引存储结构和分块查找,其中索引存储结构和分块查找的执行效率高,广泛用于 阅读全文
posted @ 2019-06-16 16:14 1112+ 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1.本周学习总结(0 2分) 1.思维导图 2.谈谈你对图结构的认识及学习体会。 ~~~ 1.图相对于树,结构更加复杂。图包括边权重,节点的关键字,节点与节点之间的对应关系。图一般由邻接表和邻接矩阵存储,邻接表和邻接矩阵的结构体定义不同,相对来说,邻接矩阵一般用二维数组存储数据,操作相对于邻接表来说 阅读全文
posted @ 2019-06-02 15:25 1112+ 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 1.本周学习总结(0 1分) 1.思维导图 2.学习体会 ~~~ 树的知识比较抽象,学起来比较困难。我在战略上出现失误,现在越来越跟不上老师的步伐了,很多作业都没有完成,我正在思索怎么解决。 原本以为写完大作业后pta的题目就会打了,看来我还是太天真,问题的难度往往超过我的想象。 ~~~ 2.1.题 阅读全文
posted @ 2019-05-18 22:01 1112+ 阅读(217) 评论(0) 推荐(0) 编辑