问题描述:
c语言编程
#include "stdio.h"
void main()
{
int x,y,h,f;
printf("输入h和f:");
scanf ("%d%d",&h,&f);
x=2*h-f/2;
y=f/2-h;
printf("头=%d,脚=%d\n",h,f);
printf("鸡=%d,兔=%d\n",x,y);
}
--------------------Configuration:Cpp1 - Win32 Debug--------------------
Linking...
LINK :fatal error LNK1168:cannot open Debug/Cpp1.exe for writing
执行 link.exe 时出错.
Cpp1.exe - 1 error(s),0 warning(s)
这个又是错在哪里呀~
#include "stdio.h"
void main()
{
int x,y,h,f;
printf("输入h和f:");
scanf ("%d%d",&h,&f);
x=2*h-f/2;
y=f/2-h;
printf("头=%d,脚=%d\n",h,f);
printf("鸡=%d,兔=%d\n",x,y);
}
--------------------Configuration:Cpp1 - Win32 Debug--------------------
Linking...
LINK :fatal error LNK1168:cannot open Debug/Cpp1.exe for writing
执行 link.exe 时出错.
Cpp1.exe - 1 error(s),0 warning(s)
这个又是错在哪里呀~
问题解答:
我来补答展开全文阅读