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


posted @ 2014-07-28 09:47  gongpixin  阅读(393)  评论(0编辑  收藏  举报