visual c++2008启动调试老是弹出“发生生成错误,要继续并运行上次成功的生成吗”是怎么回事,高手帮忙!

来源:百度知道 编辑:UC知道 时间:2024/06/18 02:35:46
1>------ 已启动生成: 项目: 55, 配置: Debug Win32 ------
1>正在嵌入清单...
1>.\Debug\55.exe.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. {_~0v
1>生成日志保存在“file://c:\Users\yl\Documents\Visual Studio 2008\Projects\55\55\Debug\BuildLog.htm”
1>55 - 1 个错误,0 个警告
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
# include <iostream>
using namespace std;
int main()
{float x=12.345;
int y=100;
cout<<x*y<<endl;
y=x*y;
cout<<y<<endl;
return 0;
}
写的是这个,有问题吗

你编的程序有错,通不过调试,把你编的程序修改正确后就行了吧

这样就可以了
#include <iostream>
using namespace std;
void main()
{
double x=12.345;
int y=100;
cout<<x*y<<endl;
y=(int)(x*y);
cout<<y<<endl;
}