C ++ compiler error fatal error C1004: unexpected end of file found

possible reason:

1. The class header file deletion or structure is defined semicolon ";" 

2. ifdef conditional compilation code block lacks braces (}) or a semicolon (;), for example:

#ifdef XXX
 void func()
{

#endif

 

Guess you like

Origin www.cnblogs.com/2018shawn/p/11913438.html