| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 553 人关注过本帖
标题:[求助] 关于结构体
取消只看楼主 加入收藏
daiyun
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2006-12-6
收藏
 问题点数:0 回复次数:0 
[求助] 关于结构体

The Colossus Airlines fleet consists of one plane with a seating capacity of 12. It makes one flight daily. Write a seating reservation program with the following features:
a. The program uses an array of 12 structures. Each structure should hold a seat identification number, a marker that indicates whether the seat is assigned, the last name of the seat holder, and the first name of the seat holder.
b. The program displays the following menu:
To choose a function, enter its letter label:
a) Show number of empty seats
b) Show list of empty seats
c) Show alphabetical list of seats
d) Assign a customer to a seat assignment
e) Delete a seat assignment
f) Quit
c. The program successfully executes the promises of its menu. Choices d) and e) require additional input, and each should enable the user to abort an entry.
d. After executing a particular function, the program shows the menu again.
e. Data is saved in a file between runs. When the program is restarted, it first loads in the data, if any, from the file.

搜索更多相关主题的帖子: 结构体 
2006-12-06 20:36
快速回复:[求助] 关于结构体
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.026919 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved