隨機數生成並寫入文件(C實現)

#include <stdlib.h> #include <stdio.h> #include <time.h> //生成隨機數列 int write() { int i,j; FILE *pf = NULL; int a1[50],a2[50]; srand((unsigned)time(NULL));//隨機種子
相關文章
相關標籤/搜索