這個怎么改啊
uj5u.com熱心網友回復:
srand((unsigned int)time(NULL));uj5u.com熱心網友回復:
srand((unsigned int)time(NULL));這句少一組括號吧;
(unsigned int)timer(NULL)是srand函式的引數
uj5u.com熱心網友回復:
srand((unsigned int)time(NULL));
少了一個括號,可以說 (unsigned int)time(NULL) 是強制轉換time(NULL)為無符號整型量
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/252770.html
標籤:新手樂園
