-
火车订票系统
应用背景用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
-
新浪微博开放平台java源码
新浪微博开放平台java源码,需要进行oauth认证,具体使用请看http://blog.csdn.net/u012490740/article/details/12912543
- 2022-01-28 23:00:59下载
- 积分:1
-
一个经典的连连看游戏,通过Visual C++编写。具有较好的界面和动态效果。...
一个经典的连连看游戏,通过Visual C++编写。具有较好的界面和动态效果。
- 2022-04-19 06:08:26下载
- 积分:1
-
小小的游戏,在桌面上很有意思的。但是是单机的不能联网。...
小小的游戏,在桌面上很有意思的。但是是单机的不能联网。-small game on the table very interesting. But there was not a single cluster.
- 2022-03-18 13:40:04下载
- 积分:1
-
设计四 拔河游戏机 1、 设计一个能进行拔河游戏的电路。 2、 电路使用15个(或9个)发光二极管,开机后只有中间一个发亮,此即拔河的中心点。 3、 游戏双方各...
设计四 拔河游戏机 1、 设计一个能进行拔河游戏的电路。 2、 电路使用15个(或9个)发光二极管,开机后只有中间一个发亮,此即拔河的中心点。 3、 游戏双方各持一个按钮,迅速地、不断地按动,产生脉冲,谁按得快,亮点就向谁的方向移动,每按一次,亮点移动一次。 4、 亮点移到任一方终端二极管时,这一方就获胜,此时双方按钮均无作用,输出保持,只有复位后才使亮点恢复到中心。 5、 用数码管显示获胜者的盘数。 教学提示: 1、 按钮信号即输入的脉冲信号,每按一次按钮都应能进行有效的计数。 2、 用可逆计数器的加、减计数输入端分别接受两路脉冲信号,可逆计数器原始输出状态为0000,经译码器输出,使中间一只二极管发亮。 3、 当计数器进行加法计数时,亮点向右移;进行减法计数时,亮点向左移。 4、 由一个控制电路指示谁胜谁负,当亮点移到任一方终端时,由控制电路产生一个信号,使计数器停止计数。 5、 将双方终端二极管“点亮”信号分别接两个计数器的“使能”端,当一方取胜时,相应的计数器进行一次计数,这样得到双方取胜次数的显示。 6、 设置一个“复位”按钮,使亮点回到中心,取胜计数器也要设置一个“复位”按钮,使之能清零。--design a tug-of-war game, can design a game of tug of war circuit. 2, circuit use 15 (or 9), light-emitting diodes, come only among a shiny, namely, the center of tug-of-war. 3, the game with a two button rapidly and continuously pressed, have a pulse, who by fast, Who bright spots on the move, every time, a bright spot in Mobile. 4, the party moved to highlight terminal diode, on the winning side, this time the two sides had no effect buttons, to maintain output, so after only bright
- 2022-07-25 10:14:55下载
- 积分:1
-
thank you for using this software,which is fugai method,when you can t catch it,...
thank you for using this software,which is fugai method,when you can t catch it,please ask me for my help!
- 2023-09-03 02:30:03下载
- 积分:1
-
统计学习理论及应用课堂讲稿
统计学习理论及应用课堂讲稿-来自麻省理工学院得好资料~-Statistical learning theory and application of classroom lectures- good information from the Massachusetts Institute of Technology ~
- 2023-06-22 23:25:04下载
- 积分:1
-
will automatically delete the directory of debug
will automatically delete the directory of debug
- 2022-08-08 18:47:59下载
- 积分:1
-
hao
hao -hao hao
- 2022-08-18 13:36:33下载
- 积分:1
-
是PCB的入门学习资料,希望对学习PCB的,有帮助,
是PCB的入门学习资料,希望对学习PCB的,有帮助,-PCB entry is the learning materials, and they hope to learn from the PCB, has help
- 2023-03-31 08:35:04下载
- 积分:1