#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에서 받았음)
아시는 분 계시면 도움주세요.