연세 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
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
944 | 이런 게 고비인가 보죠.^^(수정...^^;;) [4] | 경채 | 2006.03.24 | 1667 |
943 | 오랫만이네요 ^^ [4] | 준모 | 2006.03.26 | 1692 |
942 | 여러분. ㅠ_ㅠ흙흙. [9] | 유미 | 2006.03.26 | 1604 |
941 |
[2006-1]연락처를 알려주세요!
[22] ![]() | 정민 | 2006.03.28 | 444 |
940 | 나눠주며 살기 [1] | 정수 | 2006.03.28 | 1939 |
939 | /목자/님들보아주세욥♡ [2] | 나리 | 2006.03.29 | 2034 |
938 | 할로우~애브리원! ^-^ [2] | 한나, | 2006.03.30 | 1558 |
937 | 소망이 이끄는 삶 | 정수 | 2006.03.30 | 1570 |
936 | 역시... [2] | 정수 | 2006.03.31 | 1541 |
» | 만우절인가... [2] | 정수 | 2006.04.01 | 1558 |
934 | 이 곳이 바로 | 정수 | 2006.04.01 | 2803 |
933 | 사소한 삶 [1] | 정수 | 2006.04.01 | 1702 |
932 | 승연언니를 위해 기도해주세요~ [2] | 호경 | 2006.04.01 | 1581 |
931 | 분노.. [2] | 지혜 | 2006.04.02 | 1714 |
930 | 혹 후배님들 중에 권기호 간사님 잘 아는 사람 없나?? [2] | 황도연 | 2006.04.03 | 1630 |
929 | 기도해주세요~ [8] | 호경 | 2006.04.06 | 1660 |
928 | [꼭필독] 연세점퍼에 관련 된 글. [14] | 김주운 | 2006.04.08 | 1826 |
927 | 급한 광고 하나 드릴께요..수학과외에 관심 있는 분들 확인해주세요(4월10일저녁까지) [3] | 상권 | 2006.04.09 | 1594 |
926 | 안녕. ^-^ [5] | 유미 | 2006.04.10 | 1822 |
925 | 연기연-신과대 학생회 연합 부활절 행사 [1] | 백주하 | 2006.04.13 | 1825 |
9번 줄 세번째 문장. 고쳐야 겠어요 :D