int compare(const void *a, const void *b)//這函式是qsort 所需的比較函式 { int c = *(int *)a; int d = *(int *)b; if(c < d) {return -1;} //傳回-1 代表a < b
確定! 回上一頁