如果我想对这个2D数组进行排序,那么对2D数组进行排序的代码应该是什么? [英] If i want to sort this 2 d array , then what should be the code to sort the 2 d array?
本文介绍了如果我想对这个2D数组进行排序,那么对2D数组进行排序的代码应该是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我要对2维数组进行排序,那么对2维数组进行排序的代码应该是什么?
arr [] [] = {10,20,10,40};
If i want to sort this 2 d array , then what should be the code to sort the 2 d array?
arr[][]={10,20,10,40};
推荐答案
^ ]
您好,请查看此内容.
http://stackoverflow.com/questions/232395/how-do-i-sort-a-two-dimensional-array-in-c[^]
Hello Check this out.
^ ]
这篇关于如果我想对这个2D数组进行排序,那么对2D数组进行排序的代码应该是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文