Microsoft Visual C++ Debug Library Error Message

Asked By 0 points N/A Posted on -
qa-featured

I used C++ for my programming. I want to make Visual Studio 2010 with the C++ programming language. But when I want to run this software this shows an error message and while Debugging this I cant do it. So what can I do now. Here are the picture is given below:

Error:

Microsoft Visual C++ Debug Library

Debug Assertion Failed!

Program: " "

Line: 108

Expression: string iterator not incrementable

For more information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)

Abort     Retry     Ignore

SHARE
Answered By 0 points N/A #82273

Microsoft Visual C++ Debug Library Error Message

qa-featured

In your code somewhere you have declared a string and you are trying to move through that string with an iterator , well the problem is that your iterator moves through the indexes of the string, as it moves it has to increment (it means that if your iterator is declared as i and starts from 0 , it has to increment with some value, lets say, you have to move through every index of your string and the iterator has to increment by one every cycle, so you have to put in there somewhere this code: i = i+1, or just i++;)

That's the only solution to your problem, try it and write back if you have further problems.

Answered By 590495 points N/A #328257

Microsoft Visual C++ Debug Library Error Message

qa-featured

That problem is with the program itself. If this is the first time you receive it, try to restart the computer and try again. If this doesn’t work, try to uninstall and reinstall. Download the free version of Revo Uninstaller and install. Once installed, start Revo then select Microsoft Visual Studio 2010 among the applications and click “Uninstall.”

Follow the normal uninstall process. When uninstall is complete, click “Scan” to scan your computer for any leftover files and delete everything it finds. This removes everything the program created on your computer. When it is finished, exit Revo then install the application back. If the problem continues, check the system requirements and verify that your computer meets those requirements.

Related Questions