Mail Archives: djgpp/1997/11/29/15:32:36
Rivet-Sabourin wrote:
>
> Why when compile simple progam like:
>
> #include <iostream.h>
>
> void main()
no. NO. int main. main returns int.
> {
> cout << "Allo";
> }
>
> Djgpp return this error:
Djgpp is not valid spelling. AFAIK, any one of the following forms is
ok:
DJGPP, DJgpp, djgpp
>
> c:\djgpp/tmp\ccdaaaaa(.text+0x16):test.cc: undefined to 'cout'
>
> c:\djgpp/tmp\ccdaaaaa(.text+0x16):test.cc: undefined to
> 'ostream::operator << (char const*)'
>
> Thank you
> Geoffroy
read
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/readme.1st
or
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/lisezmoi.1er
if you are a french speaker.
while you are at it, download and read the FAQ:
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/faq210b.zip
or
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/frfaq21b.zip
--
----------------------------------------------------------------------
A. Sinan Unur
Department of Policy Analysis and Management, College of Human Ecology,
Cornell University, Ithaca, NY 14853, USA
mailto:sinan DOT unur AT cornell DOT edu
http://www.people.cornell.edu/pages/asu1/
- Raw text -