未知错误——1

环境:

vs2008

c++

现象:

运算溢出,调试时函数被跳过

相关代码段:

	for(int i=0;i<18;i++)
	{
		//if(changed_motion(i))
		//{
		//	continue;
		//}
		int e4=table_transport_edge4[edge4][i];
		int c =table_transport_corner[corner][i];
		int e8=table_transport_edge8[edge8][i];
		int e4_c =e4*40320+c;
		int e4_e8=e4*40320+e8;
		int max=table_trun_edge4_corner[e4_c];
		if(table_trun_edge4_edge8[e4_e8]>max)
		{
			max=table_trun_edge4_edge8[e4_e8];
		}
		if(max<min_deep)
		{
			min_deep=max;
		}
	}
说明:

如果if语句解除注释,代码可以正常运行,否则,该段代码所在函数被跳出,

不明白为什么没有显示运行时错误。


难道其他地方有异常处理?


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值