'Debug Assertion Failed out of range

string subscript out of range. I want to know what to doenter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source