level 12
int main()
或
int main(int argc, char * argv[])
才是 C++ 主函数头的标准写法。
还可以写成(带环境变量)
int main(int argc, char * argv[], char * envp[])
2015年01月11日 04点01分
5
level 5
/data/data/com.n0n3m4.droidc/files/temp.c:3:1: error: expected unqualified-id before '{' token
{
^
compilation terminated due to -Wfatal-errors.
2015年01月11日 07点01分
6
非常感谢你,我想再请问一个问题,我的花括号输入为什么老是提示错误,谢谢
2015年01月11日 07点01分
回复 蒼白的軌跡 :换成英文的花括号
2015年01月11日 08点01分