-
火车订票系统
应用背景用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
-
模拟的一个交通指南,找最短的公交路线及最省时间的公交路线...
模拟的一个交通指南,找最短的公交路线及最省时间的公交路线-simulation of a traffic guide to find the shortest and most bus routes will save time of transit routes
- 2022-03-09 09:54:41下载
- 积分:1
-
是控制台程序,支持大部分的FTP命令。本程序设定用户名和密码都是toldo,FTP服务的主目录是C: emp,详见说明文件...
是控制台程序,支持大部分的FTP命令。本程序设定用户名和密码都是toldo,FTP服务的主目录是C: emp,详见说明文件-Is a console program, to support most of the FTP commands. This procedure set the user name and password are toldo, FTP services, the main directory is C: temp, see the documentation
- 2022-04-19 22:21:08下载
- 积分:1
-
有关界面操作及检测磁盘是否忙状态、磁硬是否写保护的几个源程序...
有关界面操作及检测磁盘是否忙状态、磁硬是否写保护的几个源程序- The related contact surface operation and the examination
floppy disk busy condition, are the magnetism whether hard whether
writes the protection several source programs
- 2023-01-19 14:45:04下载
- 积分:1
-
C++语言的参考书,讲的非常全面,请大家下载用把
C++语言的参考书,讲的非常全面,请大家下载用把-C language reference books, in a very comprehensive, please use downloaded put
- 2022-02-10 00:32:18下载
- 积分:1
-
ajax loader icons
ajax loader icons -ajax loader icons
- 2022-04-22 09:56:20下载
- 积分:1
-
This information to flash the form of intuitive performance of the uCOS system i...
本资料以flash形式直观的表现了uCOS系统在80x86平台上的任务切换-This information to flash the form of intuitive performance of the uCOS system in the 80x86 platform task switch
- 2022-01-26 05:27:15下载
- 积分:1
-
procedures used to test the real
本程序用于测试实时时钟模块SD2000系列功能 程序功能如下: 1.在SD2000试验板上显示实时时间的小时和分钟?-procedures used to test the real-time clock module SD2000 series functional procedures following functions : 1. The SD2000 board real-time test of time hours and minutes
- 2022-01-26 03:53:36下载
- 积分:1
-
opencv OpenCV is cross
opencv OpenCV is cross-platform middle-to-high level API that consists of a few hundreds (>300) C functions. It
does not rely on external numerical libraries, though it can make use of some of them (see below) at
runtime, if they are available
- 2023-01-08 07:20:02下载
- 积分:1
-
ZOJ2617,请先将.rar改成.cc/.cpp再运行
ZOJ2617,请先将.rar改成.cc/.cpp再运行-ZOJ2617, you will. Rar into .cc/.cpp re-run
- 2022-03-22 12:57:17下载
- 积分:1