關於VS 「 警告 C4244 「參數」: 從「time_t」轉換到「unsigned int」,可能丟失數據 」的解決方法

當用time(NULL)來作srand的種子時會顯示    spa 警告 C4244 「參數」: 從「time_t」轉換到「unsigned int」,可能丟失數據 im 這時能夠寫成 數據 srand((unsigned int)time(NULL)) time 來解決參數
相關文章
相關標籤/搜索