The problem
To develop a membership management system that supports the manipulation of
membership records and the maintenance of the master file. This is a typical
example of a wide class of applications.
寫出一個人事管理的系統、並且使他能存檔
Analysis: activities supported include
-Membership records management & processing
-Maintenance of membership record file
-A membership record is to store the typical information of a member, e.g.,
ID, name, phone, address, year, birthdate, ….
-Record management
Create/modify/delete a member record 修改每筆資料的功能
List records by some order (name, or id) 排序
Browse or search records based on some key (name or id) 搜尋!?
File maintenance 檔案處理
Store all membership records onto a master file
Read records from the master file into an array 用陣列存
(randomly access / seek records) 隨機存取
(index maintenance)
我覺得struct用的上吧!
還有fstream.h、string.h、pointer.........
--
Wipe them out, all of them!
--
※ 發信站: 批踢踢實業坊(ptt.twbbs.org)
◆ From: mars.im.ntu.edu.tw