연세 YWAM 계좌번호 : 신한은행 110-293-670952 이미나
컴파일러도 거짓말하나보다;;
무슨 에러가 저리도 많이 나는거야;;;
몇 줄 짜지도 않았는데 -.T)
cd /home/toracle/Class Material/DS/HW/assignment3/
make -k
g++ ArrayStack.cpp -c
ArrayStack.h:7: error: expected class-name before '{' token
ArrayStack.h: In constructor 'ArrayStack<Object>::ArrayStack(int)':
ArrayStack.h:14: error: 'topptr' was not declared in this scope
ArrayStack.cpp: At global scope:
ArrayStack.cpp:4: error: 'template<class Object> class ArrayStack' used without template parameters
ArrayStack.cpp: In function 'void push(const Object&)':
ArrayStack.cpp:5: error: there are no arguments to 'isFull' that depend on a template parameter, so a declaration of 'isFull' must be available
ArrayStack.cpp:5: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
ArrayStack.cpp:6: error: 'pile' was not declared in this scope
ArrayStack.cpp:6: error: 'topptr' was not declared in this scope
ArrayStack.cpp: At global scope:
ArrayStack.cpp:12: error: 'template<class Object> class ArrayStack' used without template parameters
ArrayStack.cpp: In function 'Object& pop()':
ArrayStack.cpp:13: error: there are no arguments to 'isEmpty' that depend on a template parameter, so a declaration of 'isEmpty' must be available
ArrayStack.cpp:14: error: 'pile' was not declared in this scope
ArrayStack.cpp:14: error: 'topptr' was not declared in this scope
무슨 에러가 저리도 많이 나는거야;;;
몇 줄 짜지도 않았는데 -.T)
cd /home/toracle/Class Material/DS/HW/assignment3/
make -k
g++ ArrayStack.cpp -c
ArrayStack.h:7: error: expected class-name before '{' token
ArrayStack.h: In constructor 'ArrayStack<Object>::ArrayStack(int)':
ArrayStack.h:14: error: 'topptr' was not declared in this scope
ArrayStack.cpp: At global scope:
ArrayStack.cpp:4: error: 'template<class Object> class ArrayStack' used without template parameters
ArrayStack.cpp: In function 'void push(const Object&)':
ArrayStack.cpp:5: error: there are no arguments to 'isFull' that depend on a template parameter, so a declaration of 'isFull' must be available
ArrayStack.cpp:5: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
ArrayStack.cpp:6: error: 'pile' was not declared in this scope
ArrayStack.cpp:6: error: 'topptr' was not declared in this scope
ArrayStack.cpp: At global scope:
ArrayStack.cpp:12: error: 'template<class Object> class ArrayStack' used without template parameters
ArrayStack.cpp: In function 'Object& pop()':
ArrayStack.cpp:13: error: there are no arguments to 'isEmpty' that depend on a template parameter, so a declaration of 'isEmpty' must be available
ArrayStack.cpp:14: error: 'pile' was not declared in this scope
ArrayStack.cpp:14: error: 'topptr' was not declared in this scope
댓글 2
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
3684 | 여러분 반가워요~ 잘 지내고 있답니다 ㅋㅋ [6] | 지영 | 2006.04.16 | 1772 |
3683 | 캄보디아에서- [7] | sy | 2006.04.15 | 1634 |
3682 | 움헤헤;; 여기에 글올리는거 처음인데;;; [4] | 김예슬 | 2006.04.14 | 1740 |
3681 | M.C 4월까지 등록 마감이요 :D [2] | 김주운 | 2006.04.14 | 1546 |
3680 | 04의 포스트 [5] | 정민 | 2006.04.14 | 1744 |
3679 | 앗싸~ 시험 끝났다 ㅎㅎ [2] | 정수 | 2006.04.14 | 1675 |
3678 | 연기연-신과대 학생회 연합 부활절 행사 [1] | 백주하 | 2006.04.13 | 1825 |
3677 | 안녕. ^-^ [5] | 유미 | 2006.04.10 | 1822 |
3676 | 급한 광고 하나 드릴께요..수학과외에 관심 있는 분들 확인해주세요(4월10일저녁까지) [3] | 상권 | 2006.04.09 | 1594 |
3675 | [꼭필독] 연세점퍼에 관련 된 글. [14] | 김주운 | 2006.04.08 | 1826 |
3674 | 기도해주세요~ [8] | 호경 | 2006.04.06 | 1660 |
3673 | 혹 후배님들 중에 권기호 간사님 잘 아는 사람 없나?? [2] | 황도연 | 2006.04.03 | 1630 |
3672 | 분노.. [2] | 지혜 | 2006.04.02 | 1714 |
3671 | 승연언니를 위해 기도해주세요~ [2] | 호경 | 2006.04.01 | 1581 |
3670 | 사소한 삶 [1] | 정수 | 2006.04.01 | 1702 |
3669 | 이 곳이 바로 | 정수 | 2006.04.01 | 2803 |
» | 만우절인가... [2] | 정수 | 2006.04.01 | 1558 |
3667 | 역시... [2] | 정수 | 2006.03.31 | 1541 |
3666 | 소망이 이끄는 삶 | 정수 | 2006.03.30 | 1570 |
3665 | 할로우~애브리원! ^-^ [2] | 한나, | 2006.03.30 | 1558 |
9번 줄 세번째 문장. 고쳐야 겠어요 :D