源码简介: |
主要用结构体数组实现,用结构体表示每项记录,数据为:编号、车牌号、车主姓名、性别、违章情况、违章时间、地点。设计各个函数,分别实现以下功能:(1)录入:完成违章信息的输入;(2)删除:完成违章信息的删除;(3)修改:允许对已经录入的数据重新进行编辑、修改;(4)显示:显示所有违章的信息;(5)查询: a. 按车牌号查找违章记录,如果记录超过5次打印警告信息;b. 按车主姓名查找违章记录;-The main achievement of the structure array, using the structure of each record, data as: number, license plate number, owner name, sex, illegal situation, violation of time, place. The design of various functions, respectively, to achieve the following functions: (1) entry: the completion of the importation of illegal information (2) Delete: complete regulations information deleted (3) to amend: to allow entry of data has been re-edit, modify (4 ) Show: Show all illegal information (5) query: a. violation by license plate number to find records, if records of more than five times to print a warning message b. the name of the owner in accordance with regulations to find records
|