""does not name a type; did you mean""

出现此错误可能与头文件有关

1.头文件的顺序有问题。

2.头文件重复包含。

猜你喜欢

转载自blog.csdn.net/qq_25188995/article/details/81336007