I first tought that this mistake was something to do with my code, but after trying to run several different codes, i'm starting to think that I did some mistake when i installed Code::Blocks or Mingw. Here's the error:
'
/home/keith/builds/mingw/gcc-9.2.0-mingw32-cross-native/mingw32/libstdc++-v3/include/bits/basic_string.h:1067: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]</char></char>: Assertion '__pos <= size()' failed.
'
No point opening multiple issue or using private messages. Closing as duplicate of [#1034]
Related
Tickets:
#1034