摘要:
转自:http://blog.csdn.net/kuaile123/article/details/11105115vector::erase误使用问题: 暂时使用经验: 不能在循环中使用,否则会报如题错误。2014/03/11更新:循环删除容器中符合条件的元素 《C++ Primer(Edit 5)》, P.349 Both forms of erasereturn an iterator referring to the location after the(last) element that was removed.That is, if j is the element fol... 阅读全文
摘要:
定位:link的库与工程不匹配或有错误2038错误原因:编译链接库时的编译选项“Runtime Library”与调用工程的该选项不匹配。解决方法:将“Runtime Library”选项修改为一致即可。参见:http://blog.csdn.net/xiaowei_cqu/article/details/7586449 阅读全文