首页上一页 1 下一页尾页 1 条记录 1/1页
怎么添加#include stdafx.h 头文件,,没有它编译不了???
发表在C语言图书答疑
2013-03-30
是否精华
是
否
版块置顶:
是
否
#include "iostream"
#include "stdafx.h"
using namespace std;
void main()
{
char i;
cin >>i;
switch(i);
{
case "a"
cout << x<= 90 :hao de << endl;
break;
case "b"
cout << x<= 90 <80 :hao de << endl;
break;
case "c"
cout << x<= 80 <=70 :hao de << endl;
break;
case "d"
cout << x<= 70<=60 :hao de << endl;
break;
default<<buenennnenene<< endl;
}
return 0;
}
#include "stdafx.h"
using namespace std;
void main()
{
char i;
cin >>i;
switch(i);
{
case "a"
cout << x<= 90 :hao de << endl;
break;
case "b"
cout << x<= 90 <80 :hao de << endl;
break;
case "c"
cout << x<= 80 <=70 :hao de << endl;
break;
case "d"
cout << x<= 70<=60 :hao de << endl;
break;
default<<buenennnenene<< endl;
}
return 0;
}