包含/排序棒球统计数据的最佳方法 [英] Best way to contain / sort Baseball Statistics

查看:91
本文介绍了包含/排序棒球统计数据的最佳方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要找到以这种格式包含棒球统计数据的最佳方式

I need to find the best way to contain baseball statistics in this format

展开 | 选择 | Wrap | 行号

推荐答案


我需要找到以这种格式包含棒球统计数据的最佳方法
I need to find the best way to contain baseball statistics in this format
展开 | < span class =codeLinkonclick =selectAll(this);>选择 | Wrap | 行号


是的,或者更确切地说,有更简单的方法吗?
yes, or rather, is there an easier way to go about this?



是的,或者更确切地说,有更简单的方法吗?
yes, or rather, is there an easier way to go about this?



您可以以结构的形式存储它。

当您想根据不同的列对其进行排序时,这是有利的。

您必须为不同的列编写比较函数,并且在运行期间,您可以自行决定使用哪一列进行排序。


Raghuram

You can store it in form of a structure.
this is advantageous when u want to sort it on the basis of different columns.
You have to write a comparison function for different columns and during run time yu can deceide which column to use for sorting.

Raghuram


这篇关于包含/排序棒球统计数据的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆