发布时间:2014-06-09 15:29:13
heap corruption detected:after normal block(#xxx) at 0x xxxxxxxxcrt detected that the application wrote to menory after end of heap buffer http://hi.baidu.com/yaonb/blog/item/3e57cb74ffc72e01b151b9aa.html这是典型的内存溢出错误,常在内存的delete处发生,而且一般在debug版本中可能出现,.........【阅读全文】
发布时间:2014-06-09 15:25:34
在fwrite之后调用fflush才有效果, 在fread之后调用fflush是不会清空读入缓冲区的..转:http://bbs.csdn.net/topics/60001506http://stackoverflow.com/questions/2187474/i-am-not-able-to-flush-stdin......【阅读全文】
发布时间:2014-06-06 17:27:53
自己的代码:for(itFArg=m_vectFileThreadArg.begin(); itFArg!=m_vectFileThreadArg.end(); itFArg++ ){if(itFArg->nDataChannel == FArg.nDataChannel){ m_vectFileThreadArg.erase(itFArg); //if not assign to itFArg() if(itFArg == m_vectFileThreadArg.end() may throw exceptio.........【阅读全文】
发布时间:2014-06-04 17:08:55
heap corruption detected:after normal block(#xxx) at 0x xxxxxxxxcrt detected that the application wrote to menory after end of heap bufferhttp://hi.baidu.com/yaonb/blog/item/3e57cb74ffc72e01b151b9aa.html这是典型的内存溢出错误,常在内存的delete处发生,而且一般在debug版本中可能出现,r.........【阅读全文】