產生大於RAND_MAX(32767)的亂數. //定義巨集 #define GetRandom(min,max) rand()*((float)((max)-(min)))/(float)(RAND_MAX)+(min) //呼叫 int a ...
確定! 回上一頁