나의 배움터

  • 분류 전체보기 (386)
    • 일기장 (237)
      • 매일매일성장하기 (78)
      • 매일매일온전히집중하기 (147)
      • 감사일기 (7)
      • 자기동기부여 (5)
    • 이제는 사용하지 않는 공부방 (143)
      • Artificial intelligence (57)
      • Algorithm (20)
      • App building (1)
      • Java (28)
      • Python (5)
      • Database (1)
      • Operating system (5)
      • Computer architecture (1)
      • Concept of programming lang.. (3)
      • 영어 (5)
      • 수학 (1)
      • 컴퓨터공학 필수정보 (16)
  • 홈
  • 태그
  • 방명록

Runtime check failure #2 - Stack around the variable "array" was corrupted.

2020. 3. 24. 01:51

https://social.msdn.microsoft.com/Forums/vstudio/en-US/a4b8a8de-a0d7-4af8-9ecb-d686279c4488/runtime-check-failure-2-stack-around-the-variable-quotarrayquot-was-corrupted?forum=vcgeneral

 

Runtime check failure #2 - Stack around the variable "array" was corrupted.

Hi, in the if condition:        if (myArray[index] > myArray[index + 1]) index+1 may be equal to end (when index take the value end-1) and it can't access to this element that doesn't exist

social.msdn.microsoft.com

 

 

 

https://stackoverflow.com/questions/45030157/run-time-check-failure-2-stack-around-the-variable-v-was-corrupted

+ Recent posts

Powered by Tistory, Designed by wallel
Rss Feed and Twitter, Facebook, Youtube, Google+

티스토리툴바