• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Crashing! please help!

Airstrike

New Member
Joined
Jun 24, 2009
Messages
48
Reaction score
0
terminate called after throwing an instance of 'std::eek:ut_of_range'
what() basic_string::basic_string



that's the error i get, can i get some help asap pleasee :)!?
 
I think the most likely problem from what you've described is that insert() is being invoked with an invalid position off the end of the string (i.e. > size()).

The terminate message is because you're not handling the out_of_range exception (via try/catch blocks), so it escapes up to the C++ language runtime, which unceremoniously shuts your program down.
 

Similar threads

Replies
7
Views
902
Replies
2
Views
618
Back
Top Bottom