在VC中,我自己写了一个类,有.h和.cpp文件。我编译一下,它说:
fatal error C1010: unexpected end of file while looking for precompiled header directive
我把#include "stdafx.h"加在.cpp文件里,结果它又说:
error C2011: 'xxx' : 'class' type redefinition
xxx表示有一大堆这样的错误,都是类名!
是在ATL的服务工程中,怎么解决这个问题啊,请各位帮忙了。
fatal error C1010: unexpected end of file while looking for precompiled header directive
我把#include "stdafx.h"加在.cpp文件里,结果它又说:
error C2011: 'xxx' : 'class' type redefinition
xxx表示有一大堆这样的错误,都是类名!
是在ATL的服务工程中,怎么解决这个问题啊,请各位帮忙了。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货