首页上一页 1 下一页尾页 3 条记录 1/1页
附带光盘里的程序运行不了,有错误
发表在C语言图书答疑
2015-12-29
是否精华
是
否
版块置顶:
是
否
Compiling...
huoche.c
C:\Users\peng\Desktop\huoche.c(220) : warning C4013: 'sleep' undefined; assuming extern returning int
C:\Users\peng\Desktop\huoche.c(430) : warning C4013: 'clrscr' undefined; assuming extern returning int
C:\Users\peng\Desktop\huoche.c(380) : warning C4101: 'ch2' : unreferenced local variable
C:\Users\peng\Desktop\huoche.c(472) : warning C4715: 'main' : not all control paths return a value
huoche.obj - 0 error(s), 0 warning(s)
[strong]有很多警告[/strong] 再继续就是这个样子,如下
Linking...
huoche.obj : error LNK2001: unresolved external symbol _sleep
huoche.obj : error LNK2001: unresolved external symbol _clrscr
Debug/huoche.exe : fatal error LNK1120: 2 unresolved externals
执行 link.exe 时出错.
huoche.exe - 1 error(s), 0 warning(s)
huoche.c
C:\Users\peng\Desktop\huoche.c(220) : warning C4013: 'sleep' undefined; assuming extern returning int
C:\Users\peng\Desktop\huoche.c(430) : warning C4013: 'clrscr' undefined; assuming extern returning int
C:\Users\peng\Desktop\huoche.c(380) : warning C4101: 'ch2' : unreferenced local variable
C:\Users\peng\Desktop\huoche.c(472) : warning C4715: 'main' : not all control paths return a value
huoche.obj - 0 error(s), 0 warning(s)
[strong]有很多警告[/strong] 再继续就是这个样子,如下
Linking...
huoche.obj : error LNK2001: unresolved external symbol _sleep
huoche.obj : error LNK2001: unresolved external symbol _clrscr
Debug/huoche.exe : fatal error LNK1120: 2 unresolved externals
执行 link.exe 时出错.
huoche.exe - 1 error(s), 0 warning(s)