首页 > 其他 > 详细

程序运行报错:std::logic_error‘ what(): basic_string::_S_

时间:2021-05-07 14:49:44      阅读:24      评论:0      收藏:0      [点我收藏+]
问题描述

在凝思80系统,运行C++程序,报错:
terminate called after throwing an instance of ‘std::logic_error‘ what(): basic_string::_S_const

解决方法

添加环境变量:
export LC_ALL="C"
可解决该错误。

程序运行报错:std::logic_error‘ what(): basic_string::_S_

原文:https://blog.51cto.com/weiyuqingcheng/2758805

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!