Giter VIP home page Giter VIP logo

sportsmeeting's Introduction

SportsMeeting

大二用C++写的运动会统分系统数据结构课程设计,控制台程序,用txt存储记录数据。 题目描述如下: 运动会分数统计   【问题描述】 参加运动会有n个学校,学校编号为1……n。比赛分成m个男子项目,和w个女子项目。项目编号为男子1……m,女子m+1……m+w。不同的项目取前五名或前三名积分;取前五名的积分分别为:7、5、3、2、1,前三名的积分分别为:5、3、2;哪些取前五名或前三名由学生自己设定。(m<=20,n<=20) 【任务要求】 功能要求:1).可以输入各个项目的前三名或前五名的成绩;   2).能统计各学校总分,   3).可以按学校编号、学校总分、男女团体总分排序输出;   4).可以按学校编号查询学校某个项目的情况;可以按项目编号查询取得前三或前五名的学校。   规定:输入数据形式和范围:20以内的整数(如果做得更好可以输入学校的名称,运动项目的名称)   输出形式:有中文提示,各学校分数为整形   界面要求:有合理的提示,每个功能可以设立菜单,根据提示,可以完成相关的功能要求。   存储结构:学生自己根据系统功能要求自己设计,但是要求运动会的相关数据要存储在数据文件中。(数据文件的数据读写方法等相关内容在c语言程序设计的书上,请自学解决)请在最后的上交资料中指明你用到的存储结构; 测试数据:要求使用1、全部合法数据;2、整体非法数据;3、局部非法数据。进行程序测试,以保证程序的稳定。测试数据及测试结果请在上交的资料中写明; 【测试数据】 自行设定,注意边界等特殊情况。

目录下的schools.txt是学校信息,setting.txt是比赛项目加分设置,sports.txt是比赛项目信息。 实现了运动会项目分数统计和排名功能,可以很方便的查看学校,运动项目的分数情况,其中里面的多选项排序设计的个人觉得比较好,反正得了优嘿嘿。 有机会看到的小学弟说不定能用上~

sportsmeeting's People

Contributors

coselding avatar

Stargazers

Ra1n avatar comparest avatar  avatar  avatar  avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.