Main.cc:3:7: 错误:expected nested-name-specifier before ‘namespase’
using namespase std;
^
Main.cc:3:7: 错误:‘namespase’未声明
Main.cc:3:17: 错误:expected ‘;’ before ‘std’
using namespase std;
^
Main.cc:3:17: 错误:‘std’不是一个类型名
Main.cc: 在函数‘int main()’中:
Main.cc:7:5: 错误:‘cout’在此作用域中尚未声明
cout << "Hello,world!"
^
Main.cc:7:5: 附注:建议的替代:
In file included from Main.cc:1:0:
/usr/include/c++/4.8.2/iostream:61:18: 附注: ‘std::cout’
extern ostream cout; /// Linked to standard output
^
Main.cc:9:5: 错误:expected ‘;’ before ‘return’
return 0;
^