Exception code c0000005 always caused by the access denied. That means your program is accessing a memory address without the permission.
- you read an array of length N but you read N+1
- try to access memory that has already been deallocated.
You should debug to check the exe.
Or you can follow this link then check whether it can work:
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.