-
火车订票系统
应用背景用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
-
独闯地狱VC游戏源代码
独闯地狱VC游戏源代码-FLORIDA hell VC game source code
- 2023-04-16 21:50:03下载
- 积分:1
-
台球小游戏 所以的球都是定时炸弹,必须在规定的时间内将所以的球打进,不然炸弹就会爆炸。...
台球小游戏 所以的球都是定时炸弹,必须在规定的时间内将所以的球打进,不然炸弹就会爆炸。-small billiards game so the ball is a time bomb which must be within a specified time so the ball will be reached, otherwise bombs will explode.
- 2022-01-26 08:18:33下载
- 积分:1
-
open Notepad and automatically preserve
打开记事本并自动保存-open Notepad and automatically preserve
- 2022-08-08 08:33:00下载
- 积分:1
-
可以编辑的msflexgrid的VB源码,密码为peng
可以编辑的msflexgrid的VB源码,密码为peng-can edit the msflexgrid VB source code, passwords peng
- 2022-08-18 03:37:01下载
- 积分:1
-
PDS 程序
处理程序设计和数据结构的实验室;1 包含 fibonacci 系列和在指定列表中找出唯一元素的 C 代码,
- 2022-08-07 17:46:30下载
- 积分:1
-
一种用硬件信息获取系统的硬件信息例子
一个用vc获取系统硬件信息的例子-vc access to a system with hardware information example
- 2022-03-23 14:47:50下载
- 积分:1
-
动态规划解银币问题(C++实现)
动态规划解银币问题(C++实现)-dynamic programming solution Coin (C achieved)
- 2022-08-21 21:15:59下载
- 积分:1
-
检查 C 源码中括号的匹配性
检查 C 源码中括号的匹配性-check C source code compatibility brackets
- 2022-07-06 16:39:50下载
- 积分:1
-
C++开发的。农夫过河。一个农夫带着一只狼,一只羊和一些菜过河。河边只有一条一船,由 于船太小,只能装下农夫和他的一样东西。在无人看管的情况下,狼要吃羊,羊要吃...
C++开发的。农夫过河。一个农夫带着一只狼,一只羊和一些菜过河。河边只有一条一船,由 于船太小,只能装下农夫和他的一样东西。在无人看管的情况下,狼要吃羊,羊要吃菜,请问农夫如何才能使三样东西平安过河。
-C development. Farmers across the river. A farmer with a wolf, a goat and some vegetables across the river. Only a river boat, the boat is too small to install under the farmer and his thing. Unattended circumstances, the wolf to Qiyang, the sheep to the meal, ask the farmers how to make three things safely across the river.
- 2022-06-01 15:13:42下载
- 积分:1