jorben_8 发表于 2012-1-2 04:25 只看TA 1楼 |
---|
|
[交流] 关于VS2008 一个奇怪报错的解决办法 最近开始玩VS2008,没想到运行个HELLO WORLD 都报错intermediate.manifest : general error c1010070: Failed to load and parse the......。百度解决方法,居然没有成功解决的!就在我快要放弃的时候,发现源文件里的新建的C++文件居然显示的是无法识别的类型。而不是我们熟悉的后缀名为.cpp的 C++文件。 于是我果断手动添加后缀名.cpp,编译,通过! 碰到类是的问题的同学可以尝试下,但是为什么要手动添加后缀名,目前没弄明白,欢迎讨论! |
0 |
zzfifo 发表于 2012-1-3 22:13 只看TA 3楼 |
---|
see the thread titled Visual Studio Pro 2008 Forget the frustration. You probably had to learn how to use a hammer, too. It goes with any new tool You don't want the precompiled header. Further, you can shorten the process. 1. Click File>New>Project 2. Select General in the left pane, Empty Project in the right pane. 3. Name the project and click Finish. 4. Now open the project. 5. Click Project>Add Existing Item. 6. Browse to your .cpp file, select it, and click Add. 7. Double click it in the Explorer pane to open a copy. 8. Click Build Solution Correct any errors and rebuild until it's all okay. Run it. |
0 |