continue Misplaced continue continue Ambiguity between function 1












continue ■ Misplaced continue - continue 문은 루프 안에서만 사용이 가능하다. ■ Ambiguity between ‘function 1' and ‘function 2' Address of overloaded function ‘function' doesn't match ‘type' - 함수사이의 변수가 일치하지 않는다. ■ Array bounds missing ] OR Delete array size missing ] OR Operator [] missing ] OR Subscripting missing ] - “]"가 빠졌다. “["가 연산자로 선언되었다. ■ Array must have at least one element - 배열은 하나 이상의 요소가 함께 선언되어야 한다. ■ char ray[]; /* definition of unknown size -- ILLEGAL */ char ray[0]; /* definition of 0 size -- ILLEGAL */ extern char ray[]; /* declaration of unknown size -- OK */ Array size too large - 배열 크기가 너무 크게 선언되었다. 예) array[70000 L]; /* Allocate 140000 bytes */ YES C int 제huge 5 장 디버깅과 추적 12

continue ■ Cannot overload ‘main' - main이 한번이상 쓰였다. - main은 단 한번만이 존재해야 한다. ■ Undefined symbol ‘identifier' - identifier가 선언되지 않았다. ■ Abnormal program termination - 이 에러는 주로 메모리가 부족하여 발생한다. ■ Divide error Floating point error: Divide by 0 - 0으로 나누었을 때 발생한다. YES C 제 5 장 디버깅과 추적 13


















- Slides: 31