error: expected declaration specifiers or '...' before XXX [magical] error

When the header file that contains B of A, B and include the header file A, the emergence of this error.

Solution: Check and delete the header file which contains repeated.

Published 266 original articles · won praise 78 · views 640 000 +

Guess you like

Origin blog.csdn.net/Allyli0022/article/details/104725114