#include
#include
using namespace std;
void main(int time,int iCount=0,double a=0.0,double b=0.0,char y[]="yes",char n[]="no")
{
cout<<"Number Guessing Game"<>ready;
double g,w,b;
char G[]="go";
char W[]="wait";
char B[]="bye";
g=strcmp(ready,G);
w=strcmp(ready,W);
b=strcmp(ready,B);
if(g==0)
{
int Start,End,T;
cout<<"Let's go!"<>Start;
cout<<"Ending number:";
cin>>End;
if(Start>guess;
if(guess==random)
{
cout<<"You're right!"<>wants;
A=strcmp(wants,y);
B=strcmp(wants,n);
if(A==0)
{
cout<<"OK!"<>returns;
A=strcmp(returns,y);
B=strcmp(returns,n);
if(B==0)
{
cout<<"Well,bye."<100)
return;
}
}
if(w==0)
{
cout<<"OK!"<>returns;
a=strcmp(returns,y);
b=strcmp(returns,n);
if(a==0)
{
cout<<"Well,bye."<
错误提示:fatal error C1004: unexpected end of file found
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)