求助:初学者的问题
#include<iostream.h>
using namespace std;
void main()
{
int i,score;
cout<<"kaoshifenshu";
cin>>score;
i=score/10;
switch(i)
{
case 10:
case 9:
cout<<"you";
break;
case 8:
cout<<"liang";
break;
case 7:
case 6:
cout<<"zhong";
break;
default:
cout<<"cha";
}
}
我的程序有问题吗?
C:\PROJECT\输入\输入.cpp(2) : error C2871: 'std' : does not exist or is not a namespace
执行 cl.exe 时出错.
输入.obj - 1 error(s), 0 warning(s)
[此贴子已经被作者于2007-1-24 21:48:26编辑过]