这是C++
回答:除了空格有些不标准外,应该没设问题啊,这个是我用DevC++跑出来的
#include<iostream>
using namespace std;
int main()
{
cout<<"hello"<<endl;
system("pause");
return 0;
}
可以输出hello,没有问题;有可能是编译器的问题,附上编译截图会更好些
是刷题的话这些都不能有
#include<iostream>
using namespace std;
int main()
{
cout<<"hello";
return 0;
}