打印

[交流] 关于VS2008 一个奇怪报错的解决办法

0

关于VS2008 一个奇怪报错的解决办法

最近开始玩VS2008,没想到运行个HELLO WORLD 都报错intermediate.manifest : general error c1010070: Failed to load and parse the......。百度解决方法,居然没有成功解决的!

就在我快要放弃的时候,发现源文件里的新建的C++文件居然显示的是无法识别的类型。而不是我们熟悉的后缀名为.cpp的 C++文件。

于是我果断手动添加后缀名.cpp,编译,通过!

碰到类是的问题的同学可以尝试下,但是为什么要手动添加后缀名,目前没弄明白,欢迎讨论!

TOP

0
呵呵,还挺会折腾的,可能是软件问题吧,需要手动输入

TOP

0
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.
本帖最近评分记录
  • 那成 金币 -30 strictly prohibited reprint 2012-1-4 16:19

TOP

0
应该那个后缀是它默认中没有的,所以手动加上才行,又因为这个格式它也支持因此加上后能用,应该是这样吧。

TOP

0
没发现VC2008有这样的问题。
兄弟你是程序员啊,哈哈。

TOP

0
这是什么错误啊,WIN7的嘛?从来没遇到过

TOP

0
好的,我等下去试试,应该可以的吧。谢谢分享!

TOP

当前时区 GMT+8, 现在时间是 2025-3-16 18:53