一、亂數種子在C語言中,使用srand 來設定亂數種子,其來源可以是CPU、記憶體、時間等,最常用時間來當亂數種子,打法如下, srand unsigned time NULL; Note使用time ...
確定! 回上一頁