Article View: gnu.gcc.help
Article #49402help me please
From: Li Shengwen
Date: Wed, 26 Jan 1994 09:38
Date: Wed, 26 Jan 1994 09:38
27 lines
1312 bytes
1312 bytes
I wrote a simple c++ program to test the djgpp v1.11m2:
-----------------------------------
#include <iostream.h>
#include <string.h>
#include <stdio.h>
main() {
cout<< "this is a test\n")
}
-------------------------------------
When I compile : gcc test.cc, I got the message:
reference undefined: "cout<<(int &)",etc.
I think that's an error stupid but I don't know what it is because I
have never used gcc before. Please help me.
I think I installed djgpp correctly (according to the file "readme"),
and I had the files necessary (gpp.zip, etc).
Thanks in advance.
Technical Details
Message-ID:
<2i5dm7$rru@news-rocq.inria.fr>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!news-rocq.inria.fr!etel.inria.fr!shengwenShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,88158bf9f30b6ee,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-26 16:06:37 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!news-rocq.inria.fr!etel.inria.fr!shengwen From: shengwen@etel.inria.fr (Li Shengwen) Newsgroups: gnu.gcc.help Subject: help me please Date: 26 Jan 1994 09:38:15 GMT Organization: INRIA * Rocquencourt BP 105 * F-78153 LE CHESNAY CEDEX* France Lines: 27 Distribution: world Message-ID: <2i5dm7$rru@news-rocq.inria.fr> NNTP-Posting-Host: etel.inria.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit