Hello, this is my first time posting on this forum and i am a noob with Cpp. I am making a game which was working well. Well i used files, i get an error "stack around variable 'x' was corrupted." I never got this error message before, and all of the solutions that i read have not worked, or i did not understand.
That's the tricky thing about programming errors such as buffer overflows. The program may not crash right now, and may not even crash during your lifetime, or even at all. But even the smallest of things can trigger a crash and -- and this is the killer -- the point at which the program crashes will likely be perfectly correct and have nothing to do with the actual culprit.