全部问题 > 当前问题

用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");

}

}


李泽亮 2017-4-19 20:54:56

共 4 个回答

qqq 2017-4-25 09:59:05

那你把组建时报的错截给我看看。

李泽亮 2017-4-25 21:17:21

回复 qqq

随机数练习题.exe - 1 error(s), 0 warning(s)


组建的时候出现的,

李泽亮 2017-4-25 21:19:50

回复 qqq:我是跟着视频教学里面的,我就自己再写一遍

sake. 2017-9-14 22:59:02

我也是,这班级的老师都死了吗。为什么问问题不回话

问题来自: 随机数