Just ran into this error, "Vector iterator not incrementable", while trying to populate a char vector using a for loop. The loop is supposed to check the first vector for where each correct letter is indexed then it is too populate the second vector with the letter at the same index accordingly. Is something in the loop causing this error?
for (filler = word.begin(); filler != word.end(); filler++)
{
if (*filler == letter)
guess.insert(filler, letter);
}