北邮酒店管理源代码解析.docx

北邮酒店管理源代码解析

北邮酒店管理源代码#includelinkNode.hextern Time time0;//系统时间externint income;//酒店总收入extern Room * president0,* president1,* luxury0,* luxury1,* standard0,* standard1,* single0,* single1;extern HEGG eggbackground,eggbai1[50],egghong1[50],eggbuttonbai[7],eggbuttonhong[7];void Systemreduction()//系统还原{FILE * fp;Room * lastptr1,* lastptr0;Room * currentptr=NULL;//辅助指针 president0=(Room *)malloc(sizeof(Room));//申请节点 president0-nextp=NULL; luxury0=(Room *)malloc(sizeof(Room));//申请节点 luxury0-nextp=NULL; standard0=(Room *)malloc(sizeof(Room));//申请节点 standard0-nextp=NULL; single0=(Room *)mall

文档评论(0)

1亿VIP精品文档

相关文档