// 从文本文件file1.dat中读取数据,找出最高分和最低分学生信息,并输出在屏幕上 #include <stdio.h> #include <stdlib.h> #define N 10 // 定义一个结构体类型STU typedef struct student { int num; cha ...
分类:
其他好文 时间:
2019-12-29 18:35:53
阅读次数:
68
消息队列 消息队列即消息的链表,存放于内核并由消息队列标识符表示。是Linux进程通信机制中常见的一种通信方式,常用来在不同进程间发送特定格式的信息数据。linux支持POSIX消息队列与System V消息队列,本文阐述后者,详可见:https://www.cnblogs.com/linuxbug ...
分类:
系统相关 时间:
2019-12-29 16:39:19
阅读次数:
116
1. #include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int ...
分类:
其他好文 时间:
2019-12-29 13:02:42
阅读次数:
64
#include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id; ...
分类:
其他好文 时间:
2019-12-29 12:43:35
阅读次数:
47
part1:正确 文本文件可以看,二进制文件看不懂。 part2: #include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typ ...
分类:
其他好文 时间:
2019-12-29 10:45:40
阅读次数:
57
Part 1.1 验证性实验2修改 // 从文本文件file1.dat中读取数据,找出最高分和最低分学生信息,并输出在屏幕上 #include <stdio.h> #include <stdlib.h> #define N 10 // 定义一个结构体类型STU typedef struct stud ...
分类:
其他好文 时间:
2019-12-28 22:36:05
阅读次数:
89
#include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id; ...
分类:
其他好文 时间:
2019-12-28 00:04:21
阅读次数:
113
#include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id; ...
分类:
其他好文 时间:
2019-12-27 21:52:22
阅读次数:
63
#include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id; ...
分类:
其他好文 时间:
2019-12-27 21:45:37
阅读次数:
55
验证性实验二:更改之后,程序依旧可以运行 part2: #include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef s ...
分类:
其他好文 时间:
2019-12-27 13:38:30
阅读次数:
59