c语言编程图形篮球,c语言程序设计用高级语言实现篮球联赛个人技术数据处理系统...

更新时间:2023-06-11 22:52:14 阅读: 评论:0

c语⾔编程图形篮球,c语⾔程序设计⽤⾼级语⾔实现篮球联赛
个⼈技术数据处理系统...
《c语⾔程序设计 ⽤⾼级语⾔实现篮球联赛个⼈技术数据处理系统》由会员分享,可在线阅读,更多相关《c语⾔程序设计 ⽤⾼级语⾔实现篮球联赛个⼈技术数据处理系统(14页珍藏版)》请在⼈⼈⽂库⽹上搜索。保护消费者权益
1、题⽬:篮球赛个⼈技术统计系统设某篮球联赛要统计20名著名球员个⼈技术数据。要求⽤⾼级语⾔实现篮球联赛个⼈技术数据处理系统。该系统在磁盘上存储如下信息:1。每场球赛的个⼈技术数据。⼀场球⼀个⼈的技术数据包括:姓名,所属球队,三分球个数,篮板球个数,扣篮成功次数,抢断次数,得分,⽐赛⽇期。2。个⼈技术数据汇总表。表中反映了每个⼈的技术数据的累计结果。表羡为:姓名,三分球总数,篮板球总数,扣篮成功总次数,抢断总次数,得分总数,⽐赛场数。本系统功能如下:1。创建存储每常球赛个⼈技术数据的存储系统(第⼀次输⼊个⼈技术数据时),然后⾃动创建存储个⼈技术数据汇总表的存储系统。2。每场⽐赛后,添加个⼈技术数据。
joerex2、,然后⾃动修改个⼈技术数据汇总表3。能输出当前的个⼈技术数据汇总表4。能输出指定技术项⽬平均每场数据较⾼的前三名运动员的姓名,所在队名和平均每场的单项数据。程序:/* Basketball Statistic Information System* Write By: Yan Yi Ling;* Date: 2008-09-10*/#define MAX_PLAYER 100#de
草莓的种植fine P3 0#define SD 1#define RB 2#define CT 3#define CO 4#define MAX_TOP
3#define fal 0#define true 1struc。
3、t basketballchar name20; /* players name */char team20; /* players team */short point_3; /* three pointer */short rebound; /* rebound */short sd; /* slam dunk */short cut; /* cut */short cour; /* coue */char date11; /* race date
早点大全各种做法*/playerMAX_PLAYER;substr(char *p_from, char *p_to, int p_start, in。
4、t p_len) int index = 0, stop = p_start + p_len;while(p_start 9 ) continue;res = res * 10 + (int)p_strindex - 48;return
res;split(char *p_str, char p_chr) int index;for(index = 0; p_strindex != p_chr & p_strindex != 0; +index) /* do nothing here
*/return index;#include stdio.h#include conio.hshort pl。
5、ayer_len = 0; /* how many players in the system current */main()short op_type, op_skill;char tmp20;loadInfo();while(1) showMenu();scanf(%d , &op_type);switch(op_type) ca 1:inputPlayerInfo()
;break;ca 2:printf(Plea input players name: );scanf(%s, tmp);displayPlayerInfo(tmp);break;ca 3:displayP。
6、layerInfo();break;ca 4:printf(Plea input players name: );scanf(%s, tmp);displayPlayerCount(tmp);break;ca
5:printf(%d = three pointn, P3);printf(%d = slam dunkn, SD);printf(%d = reboundn, RB);printf(%d = cutn, CT);printf(%d = courn, CO);puts(Plea choo one of the skill you want to order: )。
7、;scanf(%d, &op_skill);displayTopInfo(op_skill);break;ca 6:puts(Thank you to u this
system!);puts(Bye!);return;default:puts(Input error! You must input number between 1 and 5!);break;printf(Enter to
continue!);getchar(); getchar();puts(nnnnnnnnnnnnnnnn);/* show menu and return urs operation*/in。
8、t showMenu() showTab(3);puts(Basketball Statistic Information System);showTab(7);puts(Write By: Yan Yi Ling);puts(1: Input player information);puts(2: Display player information);puts(3: Display all of the player information);puts(4: Display players count information);printf(5: Display TOP %d infor
m。
9、aionn, MAX_TOP);puts(6: Exitn);printf(Choo one of the function you want: );/* show tab in the screen* param p_tab: show many tab will print to the screen*/showTab(int p_tab) short index;for(index = 0; index = MAX_PLAYER) puts(Too many information!);return;printf(Plea input players name: );scanf(。
10、%s, playerplayer_len.name);printf(Plea input players team: );scanf(%s, am);printf(Plea input race date(YYYY-MM-DD): );scanf(%s, playerplayer_len.date); getchar(); /* forcus enter */printf(How many three pointer did
he/she got: );scanf(%d, &playerplayer_len.point_3);printf(How 。
11、many rebound did he/she got: );scanf(%d, &bound);printf(How many slam dunk did he/she got:
);scanf(%d, &playerplayer_len.sd);printf(How many cut did he/she got: );scanf(%d, &playerplayer_len.cut);printf(How many cour did he/she got: );scanf(%d, &ur);+player_。
12、len;if( saveInfo() )puts(save information success!);/* display players informaion according to players
name*/displayPlayerInfo(char *p_name) short index, flag = fal;printf(There are %d records in the system.n,
player_len);puts(NametTeamtDatet3 PointertSlam DunktReboundtCuttCourt);for(index = 0; 。
13、index 0; tmp-) toptmp = toptmp - 1;top0 = index;/* end */* display information */for( index = 0; index len; index+)
printf(TOP %d: %sttt%dn, index + 1, nametopindex, pointstopindex);/* end */数据测试结果(程序调试结果):1开始输⼊信息:2输⼊队员信息:3输⼊完信息后, 显⽰成员信息(需输⼊程序中已有的成员名,否则出错。):4显⽰成员信息(正确输⼊成员名。):5显⽰成员列表:6显⽰成员各项技能的得分情况:7。
14、选择需要某项技能的成员得分排名(降序):8例如:选择“1”选项,输出三分球的降序排列得分情况:9结束操作(选择“6”选项):感想(错误修正):不⾜之处:输⼊⽐赛⽇期时,不能⽤YYYY-MM-DD的形式,只能⽤YY-M-D的形式,否则输⼊各项技能得分时,格式不对。stator. Rotor installed in the stat
逝者安息的祝福语or end upper hangers supports or in the end cap oil parts installed special rotor shaft bracket. (Figure 19) in the stator ring shop i。
15、n turn lower half of the hard steel sheet, rubber mat and curve skateboards on the plate fixed to the four corners of four rope or nylon rope, tie outside the stator on the basis of, respectively. (Figure 20) axial-flow fan blade diameter greater than retaining ring diameter of the rotor at the top,。
16、 in front of the wear the stator, best to blade removed, preventing scratches and blades should be well marked. Rotor steam-side back wheel below the shaft or parts installed steam-side arc slider and the slider lower sliding surfaces coated with a thin layer of grea. The rotor excitation traction。
17、 installed end to end by a horizontal pole. Wire ropes lashing shall not damage the rotor surface using soft material wrapping wire rope, and the pad on the rotor surface with hard wood, or aluminum, lashing rope rotor with two points, the distance between two points is generally not less than 50070。
18、0mm, lashing wire rope when winding on the rotor and tighten the double baolan slide knot . 6.4.6.3 rotor wear loaded official hanging up rotor, pendulum are direction Hou will rotor from Reed end level slow wear trance child bore within, wear loaded process stator bore has two people guardi大蒜水的做法
anship, 。
19、and should guarantee steam end guardianship information smooth, ensure rotor surface dont and stator iron core coil collide; generator stator Reed end t two people guardianship, guardianship generator rotor not and stator core coil collide friction. Slow journey to move into the direction of the r。
俯身倾耳以请>变频器的应用20、otor, rotor wear them into the stator bore, will contact steam-side slider on the arc skateboards (must be over ladder after the stator to the slider, slider is only allowed access to the arc on a skateboard, or arc skateboards and protection of stator plate rollover may occur). Dang wire rope clo machine shell Shi, stop wear loaded and slowly Panasonic lane hooks put。

本文发布于:2023-06-11 22:52:14,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1034338.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:技术   数据   得分   成员
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图