低能问题~~我有一个最初级的程序~(列题)
但重装WINDOWS后~~本来没问题的程序运行时就有一个错误~我不知这个错误是什么
意思~~请教高手~~中手~低手~~只要不是象我一样的新手~
原程序如下:
// program3.cpp : Defines the entry point for the application.
//#include "stdafx.h"
int main()
{
int max,a,b,c;
cout<<"输入3个数:";
cout<<"第一个:";
cin>>a;
cout<<"第二个:";
cin>>b;
cout<<"第3个:";
cin>>c;
if(a>b)
max=a;
else
max=b;
if(c>max)
max=c;
cout<<"最大的数:"<<max<<endl;
return 0;
}错误警告为:
Error spawning cl.exeCpp1.obj - 1 error(s), 0 warning(s)请教教小弟~~我错在那了?
但重装WINDOWS后~~本来没问题的程序运行时就有一个错误~我不知这个错误是什么
意思~~请教高手~~中手~低手~~只要不是象我一样的新手~
原程序如下:
// program3.cpp : Defines the entry point for the application.
//#include "stdafx.h"
int main()
{
int max,a,b,c;
cout<<"输入3个数:";
cout<<"第一个:";
cin>>a;
cout<<"第二个:";
cin>>b;
cout<<"第3个:";
cin>>c;
if(a>b)
max=a;
else
max=b;
if(c>max)
max=c;
cout<<"最大的数:"<<max<<endl;
return 0;
}错误警告为:
Error spawning cl.exeCpp1.obj - 1 error(s), 0 warning(s)请教教小弟~~我错在那了?
10分给你~~