车厢调度源代码(C语言)

shi77505 19 0 CPP 2020-04-22 20:04:03

#include #include #include #definemax50 intn; FILE*fp; structsnode{ intdata[max]; inttop; }s; voidInit()//初始化栈 { s.top=-1; } voidpush(intq)//进栈 { s.top++; s.data[s.top]=q; } intpop()//出栈 { inttemp; temp=s.data[s.top]; s.top--; re

用户评论
请输入评论内容
评分:
暂无评论