- 论坛徽章:
- 0
|
先上代码
- AreaCode1 = atol(pMsg->strAreaCode);
- Areacode2 = atol(m_sMsg[i].strAreaCode);
- printf("OpMsg [%s:%d][%s:%d]",pMsg->strAreaCode,lAreaCode1,m_sMsg[i].strAreaCode,lAreacode2);
复制代码
程序运行正常一段时间之后,打印出来的突然就如下
OpMsg [0415:415][24:24]
OpMsg [0415:415][411:411]
OpMsg [0415:415][412:412]
OpMsg [0415:415][413:413]
OpMsg [0415:415][414:414]
OpMsg [0415:415][415:415]
OpMsg [0415:-1431655760][24:18666672]
OpMsg [0415:-1431655760][411:40566672]
OpMsg [0415:-1431655760][412:40666672]
OpMsg [0415:-1431655760][413:40766672]
OpMsg [0415:-1431655760][414:40866672]
OpMsg [0415:-1431655760][415:40966672]
OpMsg [0415:-1431655760][416:41066672]
OpMsg [0415:-1431655760][417:41166672]
OpMsg [0415:-1431655760][418:41266672]
OpMsg [0415:-1431655760][419:41366672]
OpMsg [0415:-1431655760][410:40466672]
OpMsg [0415:-1431655760][421:41566672]
OpMsg [0415:-1431655760][427:42166672]
重启之后,正常一段时间,又会出现这个问题 |
|