在凝思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