Description: 一个简单的机票预订方案
先决条件,目标和成果
先决条件:学生应掌握以下必备技能。
• 指 针 - 使用的指针间接引用和修改对象
• 链接列表 - 链表的实施的理解
• 动态内存管理 - 使用新的和删除
目标:本作业的目的是加强学生的链表的理解。
结果:学生成功地完成这项任务将掌握以下成果。
• 了解执行链表
• 使用指针
• 使用动态内存管理
说明
一个简单的机票预订方案应显示以下选项的菜单:预订机票,取消预订,查看是否有票是为特定的人保留的,并显示乘客。这些信息保存在一个链表的名称字母顺序排列。在程序的一个简单的版本,假设门票只保留一个航班。在一个更全面的版本,地方上的航班数量没有限制。创建一个与每个包括一个指向指针的链表节点乘客航班链表。
任务
写下订票根据上面的描述程序更全面的版本。 -A simple airline ticket reservation program
Prerequisites, Goals, and Outcomes
Prerequisites: Students should have mastered the following prerequisite skills.
• Pointers- Using pointers to indirectly reference and modify objects
• Linked Lists- Understanding of a linked list implementation
• Dynamic Memory Management- Use of new and delete
Goals: This assignment is designed to reinforce the student s understanding of linked lists.
Outcomes: Students successfully completing this assignment would master the following outcomes.
• Understand implementation of linked lists
• Use pointers
• Use dynamic memory management
Description
A simple airline ticket reservation program should display a menu with the following options: reserve a ticket, cancel a reservation, check whether a ticket is reserved for a particular person, and display the passengers. The information is maintained on an alphabetized linked list of names. In a simpler version of t Platform: |
Size: 358400 |
Author:Ada |
Hits:
Description: 一个简单的机票预订方案
的先决条件,目标和成果
先决条件:学生应掌握以下必备技能。
• 指针 - 使用指针间接引用和修改对象
• 链表 - 理解的链表实现
• 动态内存管理 - 使用new和delete
目标:这项任务旨在加强学生的理解链表。
结果:成功地完成这项任务的学生将掌握以下成果。
• 了解链表的实现
• 使用指针
• 使用动态内存管理
描述
一个简单的机票预订程序应显示下列选项菜单:储备一票,取消预订,是否保留一个特定的人一票,并显示乘客。信息保持的名单按字母顺序排列的链接。在程序的一个简单的版本,假设保留只有一个航班,机票。在一个更全面的版本,将航班数量上没有限制。创建一个链表的每个节点包括一个指针链表的乘客的航班。
任务
写订票方案,根据上面的描述有更全面的版本。-A simple airline ticket reservation program
Prerequisites, Goals, and Outcomes
Prerequisites: Students should have mastered the following prerequisite skills.
• Pointers- Using pointers to indirectly reference and modify objects
• Linked Lists- Understanding of a linked list implementation
• Dynamic Memory Management- Use of new and delete
Goals: This assignment is designed to reinforce the student s understanding of linked lists.
Outcomes: Students successfully completing this assignment would master the following outcomes.
• Understand implementation of linked lists
• Use pointers
• Use dynamic memory management
Description
A simple airline ticket reservation program should display a menu with the following options: reserve a ticket, cancel a reservation, check whether a ticket is reserved for a particular person, and display the passengers. The information is maintained on an alphabetized linked list of names. In a simpler version of t Platform: |
Size: 2048 |
Author:Carl |
Hits: