而C/C++的亂碼其實是由一個亂數產生器產生的,函數名稱是rand,放在stdlib.h / cstdlib 表頭檔 ... 7-9 行可以縮短為srand( (unsigned) time(NULL) );
確定! 回上一頁