討論串[問題] 亂數設SEED
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
很抱歉再次叨擾,. 與版友們經過討論後,我稍微整理一下我的問題:. 1.. 為何在全域時 initial compiler會過assign不行?. ex:. (1.). long *idum = (long *)malloc(sizeof(long)); //// OK!. (2.). long *
(還有405個字)
內容預覽:
我用的編譯器是 VS 2008. 寫rand seed第一行compile就過不了,請大家指教:. #include<iostream>. using namespace std;. #include<stdlib.h>. #include<stdio.h>. #include"rand1.h".
(還有652個字)
首頁
上一頁
1
下一頁
尾頁