气泡排序多个数组 [英] bubble sorting multiple arrays

查看:71
本文介绍了气泡排序多个数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这就是我现在所拥有的,我认为这是不对的,我无法找到更多的方法来从列表中对两个数组进行排序.

This is what i have now, i dont think it is right and i cant find how to do more then two arrays to be sorted from a list. 

我正在尝试对获胜百分比进行排序,并根据获胜百分比切换所有内容.请帮忙

i am trying to sort win percentages and switch everything according to the win percentage. please help

推荐答案

BTB,

我不会尝试对它进行排序(对双关语),但是当我看到那样的多个数组时,我只是知道".有更好的方法-使用类.

I'm not going to try to sort through that (pardon the pun), but when I see multiple arrays like that, I "just know" there's a better way - with classes.

尽管这将完全重写,所以请注意这一点.

It'll be a total re-write though, so do be aware of that.

如果您有兴趣,请解释程序的功能,或者至少说明程序的这一部分.

If you're interested then explain what your program does, or at least this part of it.

我不是自愿重新编写您的程序,但是我会尽力为您提供一些建议-如果您当然有兴趣的话. :)

I'm not volunteering to re-write your program but I'll do my best to give you some suggestions -- if you're interested of course. :)


这篇关于气泡排序多个数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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