void main()
{
int b[8][8],recordx[64],recordy[64];
initialize(b);
int start_x,start_y,count=1,sum=1;
printf("please put in the position which the horse start:");
scanf("%d%d",&start_x,&start_y);
b[start_x][start_y]=1;
recordx[0]=start_x;
recordy[0]=start_y;
//printf("%d ",count);
hop(b,start_x,start_y,start_x,start_y,&count,recordx,recordy,&sum);
}
上面的师兄很感谢你提供的代码,但是我在我的机上不能通过,不知是什么原因?
调试时出现的信息是:
Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
Loaded 'C:\Program Files\rising\rav\ApiHook.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\Program Files\rising\rav\Memmon.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\lpk.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\usp10.dll', no matching symbolic information found.
The thread 0x38C has exited with code -1073741510 (0xC000013A).
The thread 0xE10 has exited with code -1073741510 (0xC000013A).
The thread 0x930 has exited with code -1073741510 (0xC000013A).
The program 'C:\Documents and Settings\ljf\桌面\新建文件夹\Debug\2.exe' has exited with code -1073741510 (0xC000013A).