蚁群算法的演示程序用vc++开发的,希望对大家有帮助

源代码在线查看: ant.plg

软件大小: 224 K
上传用户: flyhack007
关键词: vc 蚁群算法 程序
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				Build Log
				
				--------------------Configuration: ant - Win32 Debug--------------------
				
				Command Lines
				Creating temporary file "C:\DOCUME~1\user\LOCALS~1\Temp\RSP6F.tmp" with contents
				[
				/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Debug/ant.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 
				"C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c"
				]
				Creating command line "cl.exe @C:\DOCUME~1\user\LOCALS~1\Temp\RSP6F.tmp" 
				Output Window
				Compiling...
				ant.c
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(102) : error C2079: 'starttime' uses undefined struct 'time'
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(102) : error C2079: 'endtime' uses undefined struct 'time'
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(116) : warning C4013: 'clrscr' undefined; assuming extern returning int
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(127) : warning C4013: 'gotoxy' undefined; assuming extern returning int
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(146) : warning C4013: 'gettime' undefined; assuming extern returning int
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(172) : error C2079: 't' uses undefined struct 'time'
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(177) : error C2224: left of '.ti_hund' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(179) : error C2224: left of '.ti_sec' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(182) : error C2224: left of '.ti_sec' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(184) : error C2224: left of '.ti_hund' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(185) : error C2224: left of '.ti_hund' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(200) : error C2079: 't' uses undefined struct 'time'
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(203) : error C2224: left of '.ti_sec' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(204) : error C2224: left of '.ti_min' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(205) : error C2224: left of '.ti_hour' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(211) : error C2224: left of '.ti_sec' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(212) : error C2224: left of '.ti_min' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(213) : error C2224: left of '.ti_hour' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(236) : error C2224: left of '.ti_hour' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(236) : error C2224: left of '.ti_hour' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(237) : error C2224: left of '.ti_min' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(237) : error C2224: left of '.ti_min' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(238) : error C2224: left of '.ti_sec' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(238) : error C2224: left of '.ti_sec' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(253) : error C2224: left of '.ti_hour' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(253) : error C2224: left of '.ti_hour' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(254) : error C2224: left of '.ti_min' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(254) : error C2224: left of '.ti_min' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(255) : error C2224: left of '.ti_sec' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(255) : error C2224: left of '.ti_sec' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(267) : error C2079: 'regs0' uses undefined union 'REGS'
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(268) : error C2224: left of '.h' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(269) : error C2224: left of '.h' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(270) : error C2224: left of '.h' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(271) : warning C4013: 'int86' undefined; assuming extern returning int
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(276) : error C2079: 'regs0' uses undefined union 'REGS'
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(277) : error C2224: left of '.h' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(278) : error C2224: left of '.h' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(279) : error C2224: left of '.h' must have struct/union type
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(287) : warning C4013: 'randomize' undefined; assuming extern returning int
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(317) : warning C4013: 'random' undefined; assuming extern returning int
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(362) : warning C4013: 'strcpy' undefined; assuming extern returning int
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(363) : warning C4013: 'strcat' undefined; assuming extern returning int
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(557) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(570) : warning C4244: '-=' : conversion from 'double ' to 'int ', possible loss of data
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(601) : warning C4013: 'textcolor' undefined; assuming extern returning int
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(621) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(634) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data
				C:\Documents and Settings\user\桌面\yuy9ing\20061222230338525\ant.c(810) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data
				Error executing cl.exe.
				
				
				
				Results
				ant.obj - 35 error(s), 14 warning(s)
				
				
				
							

相关资源