Exception. What does it mean?

The program previously worked.
But now comes this
Exception occurred at 0x77A38529 (ntdll.dll) in Lab6.exe: 0xC0000374: a Heap has been corrupted (parameters: 0x77A758A0).
Unhandled exception at 0x77A38529 (ntdll.dll) in Lab6.exe: 0xC0000374: a Heap has been corrupted (parameters: 0x77A758A0).
March 20th 20 at 11:34
3 answers
March 20th 20 at 11:36
So you got into the area of memory that you are not selected.
can't find where I went wrong. created a new question - wallace64 commented on March 20th 20 at 11:39
March 20th 20 at 11:38
Run the program under a debugger, it will show where the problem is.
shows where free memory. if you comment out these lines the debugger shows that the problem is in the output. I created a new question with the code. - wallace64 commented on March 20th 20 at 11:41
March 20th 20 at 11:40
This means you "broke" the memory. As a rule, dereferencing a dangling pointer or departure outside of the array.

Find more questions by tags C++Visual Studio