The compiler reached the end of the file while scanning a comment. Possible causes are:
Missing comment terminator (*/).
Missing newline character after a comment on the last line of a source file.
int main() { } /* this comment is fine */ /* forgot the closing tag // C1071
Provide the missing characters.
int main() { } /* this comment is fine */ /* this comment is fine */
This article is a derivative work based on Fatal Error C1071 which is provided by MSDN Community Content - Visual C++.
Viewing Details:
Fatal Error C1071: unexpected end of file found in comment
From $1
Table of contents
Cause
The compiler reached the end of the file while scanning a comment. Possible causes are:
Missing comment terminator (*/).
Missing newline character after a comment on the last line of a source file.
int main() { } /* this comment is fine */ /* forgot the closing tag // C1071Solution
Provide the missing characters.
int main() { } /* this comment is fine */ /* this comment is fine */About This Article
This article is a derivative work based on Fatal Error C1071 which is provided by MSDN Community Content - Visual C++.
Retrieved from "http://www.errorbase.net/Fatal_Error_C1071:_unexpected_end_of_file_found_in_comment"
All content is licensed under a Creative Commons Attribution-Noncommercial 3.0 License.