会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
区块链散户一枚
Python中毒爱好者
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
45
下一页
2021年10月22日
Unix&Linux大学教程 第二章课后习题
摘要: 1.复习题 1.什么是操作系统 操作系统是运行计算机的总控制程序。操作系统的主要功能是高效地利用硬件。 2.什么是内核?列举内核执行的任务 内核是系统是换微信,一直运行并提供基本的服务。 内核执行的基本任务: 内存管理(虚拟内存管理,包括分页) 进程管理(进程创建、终止,调度) 进程间通信(本地、网
阅读全文
posted @ 2021-10-22 10:52 就是想学习
阅读(76)
评论(0)
推荐(0)
2021年10月9日
【C语言程序设计试验与习题指导】试验十三 3 [未完成]
摘要: #include <stdio.h> #include <assert.h> #define MAX_N 10 int in_car_num = 0; struct cars{ int id; int in_time; }; void come_in_car(int c_id, int c_time
阅读全文
posted @ 2021-10-09 20:15 就是想学习
阅读(56)
评论(0)
推荐(0)
C 程序设计语言第二版 第一章 习题
摘要: 第一题 #include <stdio.h> int main(void){ printf("hello, world"); return 0; } 第二题 #include <stdio.h> int main(void){ printf("hello, world\c12"); return 0
阅读全文
posted @ 2021-10-09 20:14 就是想学习
阅读(58)
评论(0)
推荐(0)
2021年10月7日
【C语言程序设计试验与习题指导】试验十三 2
摘要: 自动寄存柜 #include <stdio.h> #include <time.h> #include <stdlib.h> struct boxs{ int id; int passwd; int is_used; }; void init_boxs(struct boxs *, int); in
阅读全文
posted @ 2021-10-07 21:13 就是想学习
阅读(56)
评论(0)
推荐(0)
2021年10月6日
C语言返回函数指针函数的示例代码
摘要: #include <stdio.h> #include <string.h> int CE(char *c, char *e){ if (strcmp(c, "你好") == 0) { strcpy(e, "Hello\n"); return 1; } strcmp(e, "Sorry\n"); r
阅读全文
posted @ 2021-10-06 14:51 就是想学习
阅读(311)
评论(0)
推荐(0)
2021年10月1日
UNIX环境高级编程 第一章
摘要: 代码笔记,仅供自己学习使用。 下面是通过调用调用dirent的系统库实现,查看目录下内容的模块 #include "apue.h" #include <dirent.h> int main(int argc, char *argv[]){ DIR *dp; struct dirent *dirp;
阅读全文
posted @ 2021-10-01 22:06 就是想学习
阅读(61)
评论(0)
推荐(0)
2021年9月30日
【C语言程序设计试验与习题指导】试验十三 1
摘要: 自动售货机 #include <stdio.h> /* 通过商品索引 返回价格 */ int goods_price(int index){ switch (index) { case 1:case 2:case 3: return 1; break; case 4:case 5: return 2
阅读全文
posted @ 2021-09-30 14:03 就是想学习
阅读(39)
评论(0)
推荐(0)
2021年9月29日
【C语言程序设计第四版】第十二章 程序设计题 6
摘要: 第六题 输出文件中的注释:将C语言源程序(hello.c)文件中的所有注释去掉后存入另一个文件(new_hello.c)。 #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #define MA
阅读全文
posted @ 2021-09-29 15:18 就是想学习
阅读(82)
评论(0)
推荐(0)
【C语言程序设计第四版】第十二章 程序设计题 5
摘要: 第五题 输出含for的行:将文本文件test.txt中所有包含字符串"for"的行输出. #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #define MAXN 5000 int main(
阅读全文
posted @ 2021-09-29 14:36 就是想学习
阅读(118)
评论(0)
推荐(0)
【C语言程序设计第四版】第十二章 程序设计题 4
摘要: 第四题 将文件中的数据求和并写入文本文件尾:文件Int_Data.dat中存放了若干整数,将文件中所有数据相加,并把累加和写入该文件的最后。 #include <stdio.h> #include <stdlib.h> #include <ctype.h> int main(void){ int n
阅读全文
posted @ 2021-09-29 14:17 就是想学习
阅读(267)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
45
下一页
公告