是新加的类里没加入头文件stdafx.h
方法1:在新增加的类的文件前#include "stdafx.h"
方法2:在project->settings->C/C++ ->project options里的/Yu"stdafx.h" 删除
在编译VC++6.0是,出现fatal error C1010: unexpected end of file while looking for precompiled header directive
最新推荐文章于 2024-05-15 11:49:33 发布