fatal error C1071: unexpected end of file found in comment

C++ 程序出现错误 fatal error C1071: unexpected end of file found in comment

注释里有中文等字符的时候, 在单行注释最后加个空格, 多行注释 */ 前加一个空格

/*  我是注释,会报错*/
/* 我是注释,没问题 */

也可是是缺少了 */

参考

posted @ 2020-09-29 19:00  VVingerfly  阅读(1213)  评论(0编辑  收藏  举报