Debug Assertion Failed

Hey guys keep getting this same error message of:

Debug Assertion Failed!

Program: C:\WINDOWS\SYSTEM#@\MSVCP140D.dll
File: c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.13.26128\include\xstring
Line:3148

Expression: string subscript not in range.

Can anyone help me with my problem??

Are your guess the same length as the secret word?

If your guess is shorter, say “ant” and your secret word is “planet”.
Then after a while you will check Guess[3] which is undefined and the program will throw an error.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms