srand( (unsigned)time( NULL ) );钟各个括号里都代表什么意思呀?
intmain(){srand((unsigned)time(NULL));inti=1;while(i==1){play();cout<<"输入1继续游戏:"<<end...
int main()
{
srand( (unsigned)time( NULL ) );
int i = 1;
while(i == 1)
{
play();
cout << "输入1继续游戏:" <<endl;
cin >> i;
}
return 0 ;
} 展开
{
srand( (unsigned)time( NULL ) );
int i = 1;
while(i == 1)
{
play();
cout << "输入1继续游戏:" <<endl;
cin >> i;
}
return 0 ;
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询