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


I get this error when turning on my program:

  after the end It is said 'Std :: length_error' (): basic_string :: _ S_create abort trap  

I know that you can not do much without code but I think it The error is very deep code to copy all of this, maybe I can understand it if I understand what this error means. Is this a sign on the issue of reading or writing at the wrong memory address?

Is there anything more to get more information about the problem from my program?

This means that you tried to create a larger string than std :: string :: max_size () is.

An exception to type length is when the class is thrown when an operation produces a string with a length greater than the maximum size.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -