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

[ad_1]

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

[ad_2]

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