c语言编程软件,VC++6.0出现执行 link.exe 时出错.
-------------------Configuration:2-Win32Debug--------------------Compiling...3.cppLin...
-------------------Configuration: 2 - Win32 Debug--------------------
Compiling...
3.cpp
Linking...
LINK : fatal error LNK1104: cannot open file "Debug/2.exe"
执行 link.exe 时出错.
2.exe - 1 error(s), 0 warning(s)
求大佬帮助!感谢 展开
Compiling...
3.cpp
Linking...
LINK : fatal error LNK1104: cannot open file "Debug/2.exe"
执行 link.exe 时出错.
2.exe - 1 error(s), 0 warning(s)
求大佬帮助!感谢 展开
2个回答
2017-09-13
展开全部
在VC中点击“Tools”—>“Option”—>“Directories”,发现路径有误,重新设置“Excutable Fils,Include Files,Library Files,Source Files”的路径。
如果你是按照初始路径安装vc6.0的,路径应为:
executatble files:
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
C:\Program Files\Microsoft Visual Studio\VC98\BIN
C:\Program Files\Microsoft Visual Studio\Common\TOOLS
C:\Program Files\Microsoft Visual Studio\Common\TOOLS\WINNT
include files:
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
library files:
C:\Program Files\Microsoft Visual Studio\VC98\LIB
C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
source files:
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\CRT\SRC
如果你装在其他盘里,则仿照其路径变通就行。
关键是microsoft visual studio\ 后面的东西要相同。
如果你是按照初始路径安装vc6.0的,路径应为:
executatble files:
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
C:\Program Files\Microsoft Visual Studio\VC98\BIN
C:\Program Files\Microsoft Visual Studio\Common\TOOLS
C:\Program Files\Microsoft Visual Studio\Common\TOOLS\WINNT
include files:
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
library files:
C:\Program Files\Microsoft Visual Studio\VC98\LIB
C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
source files:
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE
C:\Program Files\Microsoft Visual Studio\VC98\CRT\SRC
如果你装在其他盘里,则仿照其路径变通就行。
关键是microsoft visual studio\ 后面的东西要相同。
2017-09-13
展开全部
在我电脑上没有错误,请把你的错误贴出来!但是要作下面的修改:for(i=0;i<5;i++){scanf("%s",student[i]);//这行改为scanf("%s",student[i].student);
追问
对不起,没看懂,什么意思?错误贴出来了啊就是问题下面那几行,请问在哪里修改呐?谢谢!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询