int c = *(int *)a; int d = *(int *)b; if(c < d) {return -1;} //傳回-1 代表a < b else if (c == d) {return 0;} ... return( strcmp((char *)a,(char *)b) );. }.
確定! 回上一頁