|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
Visual C++ 6.0
#include "stdio.h"
#include "iostream"
#include "stdafx.h"
int main(int argc, char* argv[])
{
int a;
cout << "请输入一个数字,按回车结束" << endl;
cin >> a;
cout << a << endl;
return 0;
}
error C2065: 'cout' : undeclared identifier
error C2297: '<<' : illegal, right operand has type 'char [13]'
error C2065: 'endl' : undeclared identifier
error C2065: 'cin' : undeclared identifier
warning C4552: '>>' : operator has no effect; expected operator with side-effect
warning C4552: '<<' : operator has no effect; expected operator with side-effect |
|