vc6.0工程编译报几十个“undeclared identifier”错误

问题:
vc6.0工程编译报几十个“undeclared identifier”错误。

原因:
上一步操作中在*.cpp文件里添加了一行

#include"stdafx.h"

但是这行没有放在cpp文件的非空第一行,这行前面还有包含其它的文件,导致前面包含的文件失效。

猜你喜欢

转载自blog.csdn.net/qq_43248127/article/details/111960270