srand ( time(NULL) ); int x = rand(); cout << x << endl;. 但是,我总是得到一个几乎相同 ... 好,srand()真的那么简单吗? 我的意思是有人会称它为随机函数吗?
確定! 回上一頁