标题:救救菜鸟,,,,
只看楼主
bill
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2005-12-6
 问题点数:0 回复次数:0 
救救菜鸟,,,,

构造函数的对象怎么排序啊?????我是菜鸟啊,,,,上课没有听,,现在有作业了,我晕了!!!
如: Student ti(name[i],id[i],score1[i],score2[i],score[i]);
score[i]=score1[i]+score2[i];
共有五个学生,,,谁总分最高就排最前面,,怎么弄啊.

2005-12-06 15:13



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-36899-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.089527 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved