[Solved] C++ text file editor crashes on file edit [closed]


In saveVocabSet you’re accessing array out of bound

for(int i=0; i <= arrSize; i++)
//             ~~ should be i < arrSize or i <= arrSize-1

Array indices should go from 0 to arrSize-1

3

solved C++ text file editor crashes on file edit [closed]