首页 > 代码库 > fatal error C1071: unexpected end of file found in comment

fatal error C1071: unexpected end of file found in comment

1.错误

#include<iostream>using namespace std;int main(){	.....	return 0;}//如果把注释放到这里了,那么提交就会出错



2.正确

 

#include<iostream>using namespace std;int main(){	.....	//应该放到大括号里面	return 0;}