【求助】简单的问题
#include<iostream>using namespace std;
int main()
{
cout<<"现在在下雨吗?(y/n)"<<endl;
char a;
cin>>a>>endl;
if(a=='y')
cout<<"现在在下雨。"<<endl;
else if(a=='n')
cout<<"现在不在下雨。"<<endl;
else
cout<<"现在下雨吗?"<<endl;
return 0;
}
unexpected end of file while looking for precompiled header directive
执行 cl.exe 时出错.
怎么回事啊???