[求助]怎么让它停下来
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
void main()
{
int i,j;
srand((unsigned)time(NULL));
while(j<=100)
{
i=rand()%10;
j=0;
j++;
printf("13%d\r",i);
}
}
怎么让13几后面那个数跳一会儿停下来???
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
void main()
{
int i,j;
srand((unsigned)time(NULL));
while(j<=100)
{
i=rand()%10;
j=0;
j++;
printf("13%d\r",i);
}
}
怎么让13几后面那个数跳一会儿停下来???
2006-04-11 15:56
2006-04-11 16:10
2006-04-11 16:16
2006-04-11 16:19
用sleep(1);不行吗?
我初学的,那个怎么用?
2006-04-11 16:21
2006-04-11 16:22
上面的有错误
2006-04-11 16:30
sleep(seconds )
seconds 停止运行的秒数;
运行有错,要加什么头文件吗?
2006-04-11 16:32
2006-04-11 16:40
能把完整的代码发一下嘛?我的确实有错
2006-04-11 16:43