What is this error i got | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is this error i got

This application has requested the Runtime to terminate it in an unusual way Please contact the application's support team for more information. terminate called after throwing an instance of std: out of range what basic string at n (which is 1) this size() (which is 0)

23rd Mar 2018, 1:54 PM
JonneSir
JonneSir - avatar
5 Answers
+ 6
I once got the same error message, and it turned out I was going out of bounds while iterating string, you might wanna check your iteration, is it still within bounds, any attempt to read memory beyond the scope allocated for the code will be terminated by the system. Hth, cmiiw
23rd Mar 2018, 2:28 PM
Ipang
+ 4
I get it, but its so different from any otther error i have seen
23rd Mar 2018, 2:31 PM
JonneSir
JonneSir - avatar
+ 4
Yep!😎
23rd Mar 2018, 2:59 PM
JonneSir
JonneSir - avatar
+ 3
Aa! I get why it gives this error, but why its so different. The program runs until this error apears. 🤔
23rd Mar 2018, 1:59 PM
JonneSir
JonneSir - avatar
+ 3
I guess it's what some would call Fatal Error : )
23rd Mar 2018, 2:34 PM
Ipang