연세 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
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
584 | 예수님과 젠장할.... [1] | 기준.. | 2003.05.16 | 1559 |
583 | PL 들으시는 분 보세요~(성환, 예훈 형 둘밖에 없던가. -_-?) [2] | 02찬호 | 2003.05.19 | 1559 |
582 | 힘듬... [2] | 수창 | 2003.08.29 | 1559 |
581 | 혹시 책살사람들 중에 모닝365에서 구입하실분들.. [4] | 선형 | 2003.09.03 | 1559 |
580 | 무대를 그리워 하면서... [3] | 주현이 | 2003.09.06 | 1559 |
579 | 기타로 하는 예배.... [13] | Sam.. | 2003.09.19 | 1559 |
578 | 예배의 추억 [1] | 기동 | 2003.10.30 | 1559 |
577 | 전도여행과 일상의 삶 사이에서 [3] | 임장군 | 2004.02.02 | 1559 |
576 | 도움이 필요해서요. [10] | 박상권 | 2004.03.25 | 1559 |
575 | 유미 Tree는 보시오.. [4] | 유미나무 원로 | 2004.10.30 | 1559 |
574 | 아 밑에글 teos글입니다.(냉무) | 정수 | 2004.11.02 | 1559 |
573 | 우리가 서로 사랑하고 신뢰할수 있는것은.... [4] | 김기언 | 2005.03.03 | 1559 |
572 | 훈련마치고 잘 돌아 왔습니다 ^-^ [10] | 선형이 | 2005.03.24 | 1559 |
571 | 싸이에 연세 YWAM 클럽을 만들었습니다. | 성건 | 2005.05.08 | 1559 |
570 | 주예흔입니다! [4] | 예흔 | 2005.11.21 | 1559 |
569 | OPEN 2007 [7] | 우리 | 2007.05.17 | 1558 |
568 | T 모양 옷 신청 받아요~! [3] | Dooballo | 2007.04.27 | 1558 |
567 | 중도 6층서 [5] | 호석 | 2006.12.20 | 1558 |
» | 만우절인가... [2] | 정수 | 2006.04.01 | 1558 |
565 | 할로우~애브리원! ^-^ [2] | 한나, | 2006.03.30 | 1558 |
9번 줄 세번째 문장. 고쳐야 겠어요 :D