文件名称:footballclub1
介绍说明--下载内容均来自于网络,请自行研究使用
描述:足球俱乐部包括球员、普通行政人员。球员有姓名、年龄、能力、年薪、转会费、进球总数、服役年限等重要参数;普通行政人员有姓名、年龄、能力、年薪等参数。你需要给相关管理机构开发一个管理程序,实现对众多足球俱乐部管理的基本功能。具体功能包括:
俱乐部的增删改查,俱乐部的属性包括名称、现金、其下人员;
可以对所有球员的各项属性进行简单搜索,支持输入多个条件,条件之间用&&连接,例如:
1. “年龄不大于25且服役年限大于5年且进球数大于100的球员”,查询表达式:!(@age>25) && @experience>5 && @kick>100
支持球员在不同俱乐部间的买卖,买卖需符合以下条件:作为买方的俱乐部的现金>=球员的转会费,交易完成后,卖方将得到转会费。
要求:
必须采用面向对象的方式,使用类组织数据结构,并注意类的继承关系;
-Descr iption: Football club including players, general administrative staff. Player name, age, ability, salary, transfer fee, total number of goals, service life and other important parameters ordinary administrative staff name, age, ability, salary and other parameters. You need to give the relevant management agencies to develop a management program to achieve the number of football club management s basic functions. Specific features include:
CRUD club, the club s properties include the name, cash, under which personnel
all players can perform a simple search of the property, supports input multiple conditions with && connection between conditions, for example:
1. "Age is not greater than 25 and greater than 5 years service life and goals greater than 100 players," query expression:! (@ Age> 25) && @ experience> 5 && @ kick> 100
supporting players between clubs in different trading, trading must meet the following conditions: As a cash buyer
(系统自动生成,下载前可以参看下载内容)
下载文件列表
footballclub1.cpp