http://www.csdn.net/expert/topic/917/917061.xml?temp=7.278079E-02

解决方案 »

  1.   

    我在我的工程中加入了一个我下载的类,类的.h和.cpp文件中都有#include "../stdafx.h"1,我想知道这是什么意思,为什么我变成#include "stdafx.h"不行,编译通不过。错误如下:
     fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory2,我用DEBUG编译可以,但是用RELEASE编译又通不过。错误如下:
     fatal error C1010: unexpected end of file while looking for precompiled header directive
     fatal error C1010: unexpected end of file while looking for precompiled header directive3,另外我要是想把源码通过EMAIL发出,可以删除那些文件?怎么办?需要什么编译条件吗?太着急了,帮忙啊!!分不够再加!!
      

  2.   

    你试一试把stdafx.h文件拷贝到你程序的Workspace目录里!
    然后在写#include "stdafx.h"