求问执行 link.exe 时出错是怎么回事呀
程序#include<stdio.h>
void main()
{
printf("hello wrold!\n");
}
编译的时候
--------------------Configuration: 2 - Win32 Debug--------------------
Compiling...
3.c
3.obj - 0 error(s), 0 warning(s)
执行的时候
--------------------Configuration: 2 - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "Debug/2.exe"
2.exe - 1 error(s), 0 warning(s)
本帖最后由 yuweb 于 2019-10-23 10:08 编辑
编译器出问题了吧,你编译的时候是3.obj,运行怎么跑2.exe 了?
要么就是你执行了2.exe然后窗口没关闭,编译执行3的时候就有可能出这个问题了
页:
[1]