fatal error C1010: 在查找预编译头指令时遇到意外的文件结尾
方法一:在include头文件的地方加上#include "stdafx.h"。
方法二:打开此项目的“属性页”对话框。单击“C/C++”文件夹。单击“预编译头”属性页。修改“创建/使用预编译头”属性为“不使用预编译头”。
方法一:重新生成.pch文件
error C2653: CMyClass: 不是类或命名空间名称
可能是将#include "MyClass.h"与#include "stdafx.h"顺应对序写反了.
<script type="text/javascript">
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>