《c语言程序设计 用高级语言实现篮球联赛个人技术数据处理系统》由会员分享,可在线阅读,更多相关《c语言程序设计 用高级语言实现篮球联赛个人技术数据处理系统(14页珍藏版)》请在人人文库网上搜索。

1、题目:篮球赛个人技术统计系统设某篮球联赛要统计20名著名球员个人技术数据。要求用高级语言实现篮球联赛个人技术数据处理系统。该系统在磁盘上存储如下信息:1。每场球赛的个人技术数据。一场球一个人的技术数据包括:姓名,所属球队,三分球个数,篮板球个数,扣篮成功次数,抢断次数,得分,比赛日期。2。个人技术数据汇总表。表中反映了每个人的技术数据的累计结果。表羡为:姓名,三分球总数,篮板球总数,扣篮成功总次数,抢断总次数,得分总数,比赛场数。本系统功能如下:1。创建存储每常球赛个人技术数据的存储系统(第一次输入个人技术数据时),然后自动创建存储个人技术数据汇总表的存储系统。2。每场比赛后,添加个人技术数据。

2、,然后自动修改个人技术数据汇总表3。能输出当前的个人技术数据汇总表4。能输出指定技术项目平均每场数据较高的前三名运动员的姓名,所在队名和平均每场的单项数据。程序:/* Basketball Statistic Information System* Write By: Yan Yi Ling;* Date: 2008-09-10*/#define MAX_PLAYER 100#define P3 0#define SD 1#define RB 2#define CT 3#define CO 4#define MAX_TOP 3#define false 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 course; /* couese */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) case 1:inputPlayerInfo();break;case 2:printf(Please input players name: );scanf(%s, tmp);displayPlayerInfo(tmp);break;case 3:displayP。

6、layerInfo();break;case 4:printf(Please input players name: );scanf(%s, tmp);displayPlayerCount(tmp);break;case 5:printf(%d = three pointn, P3);printf(%d = slam dunkn, SD);printf(%d = reboundn, RB);printf(%d = cutn, CT);printf(%d = coursen, CO);puts(Please choose one of the skill you want to order: )。

7、;scanf(%d, &op_skill);displayTopInfo(op_skill);break;case 6:puts(Thank you to use 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 users 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 inform。

9、aionn, MAX_TOP);puts(6: Exitn);printf(Choose 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(Please input players name: );scanf(。

10、%s, playerplayer_len.name);printf(Please input players team: );scanf(%s, playerplayer_len.team);printf(Please 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, &playerplayer_len.rebound);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 course did he/she got: );scanf(%d, &playerplayer_len.course);+player_。

12、len;if( saveInfo() )puts(save information success!);/* display players informaion according to players name*/displayPlayerInfo(char *p_name) short index, flag = false;printf(There are %d records in the system.n, player_len);puts(NametTeamtDatet3 PointertSlam DunktReboundtCuttCourset);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 stator 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 grease. 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 guardianship, 。

19、and should guarantee steam end guardianship information smooth, ensure rotor surface dont and stator iron core coil collide; generator stator Reed end set 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 close machine shell Shi, stop wear loaded and slowly Panasonic lane hooks put。

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

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

    c语言程序设计~用高级语言实现篮球联赛个人技术数据处理系统 匣烈同芳僧块搁拇掂犀均钒俭展边劣卸粮噪执挪宽由陌乳刽沉匡澈否辐狐损铸己涣讨前颇呼鹃使琳滤掩遁仟壁涨触乱牙敏堆蔚讳准那箕女垦点摧污劈汞憾令跃嫌 ...

  2. c语言编程技巧分析,C语言难点及编程技巧分析

    摘要:近些年信息技术发展迅速,社会需要大量专业的计算机人才,C语言是学习计算机知识的专业理论课程,能够为以后的学习打下专业基础.但目前C语言学习受到各方面因素的影响,学习效果不是很理想,很多时候即使努 ...

  3. c语言编程模拟选举,C语言编程题精选

    C语言编程题精选 C语言编程题精选 1. 编程实现对键盘输入的英文名句子进行加密.用加密方法为,当内容为英文字母时其在26字母中的其后三个字母代替该字母,若为其它字符时不变. 2. 编程实现将任意的十 ...

  4. 成都c语言编程培训机构,成都学c语言编程,成都学c语言编程去哪里,成都学c语言编程需要报培训班吗...

    成都学c语言编程,成都学c语言编程去哪里,成都学c语言编程需要报培训班吗 首页 > 软件 > 成都学c语言编程 作者:镀金池   发布时间:2018-09-28 14:20 近似带有序布局 ...

  5. 罗定c语言,罗定学c语言编程,罗定学c语言编程培训,罗定学c语言编程一般怎么收费...

    罗定学c语言编程,罗定学c语言编程培训,罗定学c语言编程一般怎么收费 首页 > 软件 > 罗定学c语言编程 作者:镀金池   发布时间:2018-10-04 23:40 依照c语言的法则, ...

  6. 单片机c语言编程下载,单片机C语言编程.doc

    单片机C语言编程.doc 单片机C语言编程指令格式 功能简述 字节数 周期 一.数据传送类指令 MOV A, Rn 寄存器送累加器 1 1 MOV Rn,A 累加器送寄存器 1 1 MOV A ,Ri ...

  7. c语言编程课程心得,c语言编程课程设计心得.docx

    C语言编程课程设计心得 C语言编程课程设计心得 河南城建学院 <C语言程序设计>课程设计报告 适用专业工程管理专业课程名称C语言程序设计指导教师赵军民.魏新红.张芳芳 设计人:051409 ...

  8. C语言编程课后训练,C语言编程课后训练20道题.doc

    C语言编程课后训练20道题 C语言编程课后训练20道题/*-------------------------------------------------------[程序填空]---------- ...

  9. c语言编程宝典pdf,C语言编程宝典之一.pdf

    C语言编程宝典之一 作者:王大刚 本人的<FOXPRO编程宝典之一>,<FOXPRO编程宝典之二>和<FOXPRO 编程宝典之三>系列软件在<电脑报>配 ...

最新文章

  1. mysql行格式化_MySQL数据格式化语句
  2. postfix邮件服务
  3. 如何学习区块链技术?
  4. PHP读取TXT UTF-8,2)PHP中把读取.txt中内容并转为UTF-8格式
  5. 教你玩4款最新族视频摄像头
  6. oracle之数据处理之其他数据库对象
  7. Django 如何展示Media底下的图片
  8. 转一个高内存定位的文章
  9. Jacobi matrix——一种对向量方程的梯度描述方式
  10. Visio 中如何画实现接口的连线
  11. jQuery ajax error函数(交互错误信息的获取)
  12. 雷林鹏分享:MySQL 元数据
  13. C# Graphics 透明 gif 进度条
  14. SparkMLlib之二Basic Stastics
  15. python进行文本分类_python实现文本分类
  16. 骗子、假先知们一夜暴富背后:区块链是回归互联网本来意义的唯一希望|深度
  17. multisimbcd码_8421BCD码加法器报告1
  18. centos8 配置 dns_上网慢?你可能要改一下DNS
  19. CVPR 2022|上海交大腾讯优图提出IFRNet:视频插帧新范式新SOTA
  20. 什么第一台多媒体电子计算机诞生,第一台多媒体电计算机是哪一年诞生的

热门文章

  1. 实战:浪潮服务器安装凝思 6.0.8 版本操作系统
  2. 锐龙R7 PRO 6850HS怎么样相当于什么水平级别
  3. 千万级规模高性能、高并发的网络架构经验分享
  4. 九龙证券|人工智能掀起涨停潮,北上资金大幅卖出互联网金融龙头
  5. 人类基因编辑技术及背后的伦理问题 【个人观点,仅供参考】
  6. eclipse安卓 DDMS中打不开Sdcard文件夹的问题
  7. 最新转转验机源码+独立后台管理
  8. Python+OpenCV实现图像处理OCR手写数字识别原理
  9. 将阿拉伯数字转换成汉字数字(小写)
  10. 基于小程序开发的宝可梦图鉴小程序源码课程设计毕业设计