时间函数的调用

时间:2017-01-04 16:37:33
【文件属性】:
文件名称:时间函数的调用
文件大小:473B
文件格式:CPP
更新时间:2017-01-04 16:37:33
srand 时间函数的调用 #include #include //#include using namespace std; int main( ) { int i,j; srand(time(0)); for (i=1;i<=10;i++) {j=rand()0; cout< #include using namespace std; int main( ) {int num,x; srand(time(0)); for (x=1;x<=5;x++) {num=rand()0+1; cout< 立即下载

网友评论