int rand();
取得一个随机数值
void main() { SetScreen(0); printf("%d\n", rand()); printf("%d\n", rand()); printf("%d\n", rand()); getchar(); }