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;
}


原文地址:https://www.cnblogs.com/gongpixin/p/4477460.html