From b49525483a9608ce55d66da501e2f1b439666772 Mon Sep 17 00:00:00 2001 From: zhouyufan <2467848647@qq.com> Date: Sun, 21 May 2023 16:13:07 +0800 Subject: [PATCH] =?UTF-8?q?c4=E5=87=BD=E6=95=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c4函数功能 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 c4函数功能 diff --git a/c4函数功能 b/c4函数功能 new file mode 100644 index 0000000..732aae5 --- /dev/null +++ b/c4函数功能 @@ -0,0 +1,24 @@ +//4 函数功能:按选择法将数组sum的元素值排序 +void SortbyScore(STU stu[],int n,int m,int (*compare)(float a,float b)) +{ + int i, j, k, t; + for (i=0; i