-
火车订票系统
应用背景用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
-
用vb做的二进制运算程序
用vb做的二进制运算程序-vb do with the binary Operational procedures
- 2022-11-24 03:45:03下载
- 积分:1
-
A web page of the FTP login system, multi
一个web登录页面的FTP系统,有多国语言,在config.inc.php里设置语言zh-cn-A web page of the FTP login system, multi-language, the language settings in the config.inc.php ri zh-cn
- 2022-10-08 12:40:03下载
- 积分:1
-
Start menu beautification procedures and source code
开始菜单美化程序与源代码-Start menu beautification procedures and source code
- 2023-06-06 19:40:03下载
- 积分:1
-
介绍Windows CE开发工具Platform Builder的原版英文资料!不可不看!...
介绍Windows CE开发工具Platform Builder的原版英文资料!不可不看!-introduced Windows CE Platform Builder development tool in the original English! Must-see!
- 2022-02-01 07:57:04下载
- 积分:1
-
决定你一生成就的21个信念,决定你一生成就的21个信念决 定你一生成就的21个信念....
决定你一生成就的21个信念,决定你一生成就的21个信念决 定你一生成就的21个信念.-decision of your life achievements 21 convictions, deciding your lifetime achievements of the 21 convictions decision achievements of your life 21 convictions decision achievements of your life 21 convictions.
- 2022-02-05 11:02:28下载
- 积分:1
-
信息安全技术大会。关于2006年信息安全技术大会的县官内容。...
信息安全技术大会。关于2006年信息安全技术大会的县官内容。-Information Security Technology Conference. On 2006 information security technology as magistrate of the General Assembly.
- 2022-08-23 04:04:07下载
- 积分:1
-
C 程序设计语言定义了两个标准的内存管理函数:malloc() 和 free()。C 程序员经常使用那些函数在运行时分配缓冲区,以便在函数之间传递数据。然而在许...
C 程序设计语言定义了两个标准的内存管理函数:malloc() 和 free()。C 程序员经常使用那些函数在运行时分配缓冲区,以便在函数之间传递数据。然而在许多场合下,您无法预先确定缓冲区所需的实际大小,这对于构造复杂的 C 程序来说,可能会导致几个根本性的问题。一种自我管理的抽象数据缓冲区概括地给出了抽象缓冲区的伪 C 代码实现,并详细介绍了采用这种机制的优点。-C programming language defines two standard memory management functions: malloc () and free (). C programmers frequently use those functions at run-time allocation of buffers in order to pass data between functions. However, in many occasions, you can not pre-determine the actual size of the buffer required, which for the complex structure of the C program, it may lead to several fundamental questions. A self-management, abstract data buffer generally gives the pseudo-C code for an abstract buffer implementation, and details the advantages of using this mechanism.
- 2022-03-11 11:19:26下载
- 积分:1
-
运用VHDL,完成数据选择器的功能。数据选择器
运用VHDL,完成数据选择器的功能。数据选择器-data select
- 2023-02-09 21:15:03下载
- 积分:1
-
一个猜数字的小游戏,初学C++的朋友可以下一下看一下效果哦!
一个猜数字的小游戏,初学C++的朋友可以下一下看一下效果哦!-A small猜数字games, learning C++ friends can look at the effect of the next Oh look!
- 2022-03-16 16:25:02下载
- 积分:1