CnUnix

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ CnUnix ] in KIDS
글 쓴 이(By): juillet (shalala)
날 짜 (Date): 1995년08월06일(일) 15시41분29초 KDT
제 목(Title): [Q] DJGPP에서 C++ Compile...


    #include <stream.h>
    void main(void)
    {
         cout << "This is a test.\n";
    }


위의 프로그램을 컴파일하는데 다음과 같은 에러가 났습니다.
 
C:> gcc -o test test.cpp
test.cc(.text+0x28): undefined reference to 'cout'
test.cc(.text+0x2d): undefined reference to 'ostream::operator<<(char const *)'

무엇이 문제지요? gpp262.zip과 lgp26x.zip을 받아서 설치했는데...
(ftp.sogang.ac.kr에서 받았음)
아시는 분 계시면 도움주세요. 
[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.