delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/16/01:40:08

Message-ID: <36EDFD28.8D3E937C@uq.net.au>
Date: Tue, 16 Mar 1999 16:41:44 +1000
From: Frank Lin <f DOT lin AT uq DOT net DOT au>
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: zh-TW,en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: newbie....
Reply-To: djgpp AT delorie DOT com

hi,

i'm new to C and this DJGPP thing.......i can't manage to configure it
properly....

when i try to compile a simple program, like "hello world"......which
has

INCLUDE IOSTREAM.H

and COUT and ENDL

in it.......and i type

gcc file.c

it comes up with a load of garbage...then "undefined reference to
endl(iostream &)....
and so on......how do i configure the library properly?

Thanks in advance.

[CD]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019