- 11
- 0
- 约2.26千字
- 约 7页
- 2019-11-22 发布于河北
- 举报
停车场管理系统源程序清单大全.doc
PAGE
PAGE 1
源程序清单
#include stdafx.h
#includestdio.h
#includestring.h
#includestdlib.h
#includemalloc.h
#define MAX 3 //停车场中D最?多停MAX辆车
#define price 0.05 //按分钟收费
#define NULL 0
typedef struct Time
{
int hour;
int minute;
}Time;
typedef struct CarNode
{
char num[10];
Time reach;
Time leave;
}CarNode;
typedef struct Node
{
CarNode *stack[MAX+1];
int top;
}SeqStackCar;
typedef struct car
{
CarNode *data;
struct car *next;
}QueueNode;
typedef struct QNode
{
QueueNode *head;
QueueNode *rear;
}LinkQueueCa
原创力文档

文档评论(0)