用VC打出这个程序组建不了
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
main()
{
int t,i,a,b;
time(&t);
srand(t);
while(1)
system("cls");
a = rand()%100;
b = rand()%100;
printf("a=%d\n b=%d\n",a,b);
printf("a+b=%d\n",a+b);
syatem("pause");
}
那你把组建时报的错截给我看看。
回复 qqq:
随机数练习题.exe - 1 error(s), 0 warning(s)
组建的时候出现的,
回复 qqq:我是跟着视频教学里面的,我就自己再写一遍
我也是,这班级的老师都死了吗。为什么问问题不回话