Hello everyone
I'm new to C++ coding and i just registered on the site (nice forums!)
I started c++ 2 months ago but i'm a very adaptive person.
So anyway... The program i've compiled gives an error randomly sometimes and terminates the program :/
i've managed to track down the source of it with logging.
Here are the possible causes:
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase
Aborted
I never erase a string variable
i only use .erase( ) for global vector variables
and like i told you, with the DEV_Print( ) function, the problem only happens when i push a string into that vector. Here let me show you the function that does that