摘要: 今天在调试代码c++的时候,遇到了两个bug。顺利的解决。1.运行时,中断。错误提示:terminate called after throwing an instance of 'std::logic_error'what(): basic_string::_S_construct NULL not validgoogle了一下,发现问题是,将NULL赋值给std::string变量。参考网址:http://gcoder.blogbus.com/logs/32262907.html2.运行时,中断。提示错误:std::out_of_rangegoogle了一下,发现问题是,将 阅读全文
posted @ 2012-05-09 22:28 成长的企鹅 阅读(116) 评论(0) 推荐(0) 编辑