怎么编写随机函数,不能利用系统时间
怎么编写随机函数,不能利用系统时间
随机函数有四种: 函数名: rand 功 能: 随机数发生器 用 法: void rand(void); 函数名: random 功 能: 随机数发生器 用 法: int random(int num); 函数名: randbrd 功 能: 随机块读 用 法: int randbrd(struct fcb *fcbptr, int reccnt); 函数名: randbwr 功 能: 随机块写 用 法: int randbwr(struct fcp *fcbptr, int reccnt);
[此贴子已经被作者于2005-6-5 17:48:42编辑过]