-
火车订票系统
应用背景用C语言写的火车订票系统,对于C语言学习者学习链表有极大的帮助,内含测试文件供测试。。。。。。。。。。。。关键技术/*定义存储火车信息的结构体*/
struct train
{
char num[10];/*列车号*/
char city[10];/*目的城市*/
char takeoffTime[10];/*发车时间*/
char receiveTime[10];/*到达时间*/
int price;/*票价*/
int bookNum ;/*票数*/
};
/*订票人的信息*/
struct man
{
char num[10];/*ID*/
char name[10];/*姓名*/
int bookNum ;/*需求的票数*/
};
/*定义火车信息链表的结点结构*/
typedef struct node
{
struct train data ;
struct node * next ;
}Node,*Link ;
/*定义订票人链表的结点结构*/
typedef struct people
{
struct man data ;
struct people*next ;
}bookMan,*bookManLink ;
- 2022-02-01 04:42:30下载
- 积分:1
-
U盘控制芯片CH331,CH331 是一个小容量U 盘的控制芯片,只要外加一个串行存储器芯片,就可以实现2KB 到512KB
的小容量U 盘。...
U盘控制芯片CH331,CH331 是一个小容量U 盘的控制芯片,只要外加一个串行存储器芯片,就可以实现2KB 到512KB
的小容量U 盘。-U disk controller IC CH331, CH331 is a small-capacity USB control chip, As long as plus a serial memory chips, we would achieve 2 KB to 512 KB of small U disk capacity.
- 2022-03-21 20:04:09下载
- 积分:1
-
Rs232 Rs232
Rs232 Rs232 -Rs232 Rs232 Rs232 Rs232
- 2023-07-14 07:45:02下载
- 积分:1
-
PDIUSBD12
PDIUSBD12 -pdf-datasheet.rar 使用LPC2XXX系列开发板-PDIUSBD12- pdf- datasheet.rar use LPC2XXX Series development board
- 2022-01-24 14:54:17下载
- 积分:1
-
c语言写的FFT变换源码,有多个版本,经测试,还比较好用
c语言写的FFT变换源码,有多个版本,经测试,还比较好用-c language source code of the FFT transform, has multiple versions, tested, is still relatively easy to use
- 2022-01-21 22:39:30下载
- 积分:1
-
C++语言常用算法集
C++语言常用算法集-C++ language commonly used algorithm Set
- 2022-01-27 14:24:50下载
- 积分:1
-
(1)分别采用结构体数组和链表存储学生信息(包括学号、姓名、各科成绩)
(2)通过键盘输入各学生的多门课程的成绩,建立相应的文件input.dat。
(...
(1)分别采用结构体数组和链表存储学生信息(包括学号、姓名、各科成绩)
(2)通过键盘输入各学生的多门课程的成绩,建立相应的文件input.dat。
(3)按各科总成绩排序,并生成相应的文件输出。
(4)计算每人的平均成绩,按平均成绩排序,并生成文件。
(5)按学号、姓名查找学生记录。
-(1), respectively, and an array of linked list structures storing student information (including Student ID, names, subjects achievements) (2) through the keyboard input of all students in the multi-course results, the establishment of a corresponding document input.dat. (3) The total score of subjects sort, and generate the corresponding output file. (4) Calculate the average per capita results, sorted by grade point average, and generate the file. (5) by Student ID, name search for student records.
- 2022-04-18 05:35:30下载
- 积分:1
-
嵌入式实时多任务操作系统培训教材,想学习嵌入式程序设计的同学们可以参考一下阿!...
嵌入式实时多任务操作系统培训教材,想学习嵌入式程序设计的同学们可以参考一下阿!-Embedded real-time multi-tasking operating system, training materials, want to learn the embedded programming students can refer to the Arab-Israeli!
- 2022-03-03 05:48:25下载
- 积分:1
-
This is a wonderful network of educational software, extracting After installati...
这是一非常棒的网络教学软件,解压安装后,每次启动可费使用12分钟。-This is a wonderful network of educational software, extracting After installation, each fee can start using 12 minutes.
- 2022-03-19 22:37:06下载
- 积分:1
-
sch图,可以分析.交流输入直流二倍压输出,用作试验高压电源
sch图,可以分析.交流输入直流二倍压输出,用作试验高压电源-sch map can be analyzed. AC to DC twice the output pressure, high voltage power supply to be used in the trial
- 2022-03-06 14:04:16下载
- 积分:1