用VC做的程序,编译可以通过,运行就出现问题? 请高手指教 急用!!!
--------------------Configuration: 交通模拟系统 - Win32 Debug--------------------
Linking...
main.obj : error LNK2001: unresolved external symbol "int __cdecl Client(struct ALGraph)" (?Client@@YAHUALGraph@@@Z)
main.obj : error LNK2001: unresolved external symbol "int __cdecl Administer(struct ALGraph)" (?Administer@@YAHUALGraph@@@Z)
main.obj : error LNK2001: unresolved external symbol "void __cdecl trainedit(struct ALGraph *)" (?trainedit@@YAXPAUALGraph@@@Z)
main.obj : error LNK2001: unresolved external symbol "void __cdecl flightedit(struct ALGraph *)" (?flightedit@@YAXPAUALGraph@@@Z)
main.obj : error LNK2001: unresolved external symbol "void __cdecl cityedit(struct ALGraph *)" (?cityedit@@YAXPAUALGraph@@@Z)
main.obj : error LNK2001: unresolved external symbol "void __cdecl CreateGraph(struct ALGraph *)" (?CreateGraph@@YAXPAUALGraph@@@Z)
main.obj : error LNK2001: unresolved external symbol "void __cdecl LeastTime(struct ALGraph *,char,char,int)" (?LeastTime@@YAXPAUALGraph@@DDH@Z)
main.obj : error LNK2001: unresolved external symbol "void __cdecl LeastMoney(struct ALGraph *,char,char,int)" (?LeastMoney@@YAXPAUALGraph@@DDH@Z)
Debug/交通模拟系统.exe : fatal error LNK1120: 8 unresolved externals
执行 link.exe 时出错.
交通模拟系统.exe - 1 error(s), 0 warning(s)