What is the meaning of this C++ Error std::length_error

后端 未结 3 2131
小蘑菇
小蘑菇 2021-02-18 13:27

While running my program I get this error:

terminate called after throwing an instance of \'std::length_error\'
  what():  basic_string::_S_create
Abort trap
         


        
3条回答
  •  耶瑟儿~
    2021-02-18 13:54

    This is an error in debug mode with VS2005. When I change it to release mode, everything works.

    Well, the vc debug runtime causes this, that's all.

提交回复
热议问题