标题:请教,不知道是什么编译错误
取消只看楼主
wingyip
Rank: 1
等 级:新手上路
威 望:2
帖 子:119
专家分:0
注 册:2007-7-16
 问题点数:0 回复次数:0 
请教,不知道是什么编译错误
--------------------Configuration: gotogoto - Win32 Debug--------------------
Cannot start tool.
操作成功完成。
Cannot start tool.
Error spawning 'vcspawn.exe'. The build could not be performed.

gotogoto.exe - 1 error(s), 0 warning(s)

我想知道这个是什么错误呢??

下面是我的程序:
#include<iostream>
using namespace std;
main()
{
int m,n,i,a,b,x;
while(cin>>n)
{
if(n==0) break;
else
{
if(n%4!=0) m=int(n/4+1);
else m=n/4;
x=m*4-n;
i=1;
a=1;
b=n;
cout<<"Printing order for "<<n<<" pages:"<<endl;
while(i<=m)
{
if(x==0)
{
cout<<"Sheet "<<i<<", front: "<<b--<<", "<<a++<<endl;
cout<<"Sheet "<<i++<<", back : "<<a++<<", "<<b--<<endl;
}
else
{
cout<<"Sheet "<<i<<", front: "<<"Blank"<<", "<<a++<<endl;
cout<<"Sheet "<<i++<<", back : "<<a++<<", "<<"Blank"<<endl;
x--;
}
}
}
}
return 0;
}
搜索更多相关主题的帖子: 编译 
2007-09-08 15:12



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-168592-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.129439 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved