摘要: 转自: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... 阅读全文
posted @ 2014-03-10 08:59 Azor 阅读(1253) 评论(0) 推荐(0) 编辑
摘要: 定位:link的库与工程不匹配或有错误2038错误原因:编译链接库时的编译选项“Runtime Library”与调用工程的该选项不匹配。解决方法:将“Runtime Library”选项修改为一致即可。参见:http://blog.csdn.net/xiaowei_cqu/article/details/7586449 阅读全文
posted @ 2014-02-13 23:21 Azor 阅读(1563) 评论(0) 推荐(0) 编辑