Xref: news-dnh.mv.net comp.os.msdos.djgpp:3837 Newsgroups: comp.os.msdos.djgpp Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!EU.net!sun4nl!cs.vu.nl!rjvdboon From: rjvdboon AT cs DOT vu DOT nl (Boon van der RJ) Subject: Re: C++ - Almost there Nntp-Posting-Host: sloep62.cs.vu.nl References: <4aj0hm$g70 AT micro DOT internexus DOT net> Sender: news AT cs DOT vu DOT nl Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Date: Wed, 13 Dec 1995 15:26:36 GMT Message-ID: Lines: 23 To: djgpp DJ-Gateway: from newsgroup comp.os.msdos.djgpp Laszlo Vecsey (master AT micro DOT internexus DOT net) wrote: :> Using 'cpp.exe hello.cpp -o hello.exe' it now compiles cleanly, :> but I guess I still need to link in some libs before this is truely an exe. :> How do I do this? :> Running 'gcc hello.cpp -o hello.exe' spits back errors about cout being :> undefined. just use: gcc hello.cpp -o hello -lgpp' go32 hello to run hello (or coff2exe hello, to create a hello.exe) These are faq's, to be found in faq102.zip from the same place you got DJGPP. :> hello.cpp simply contains an include of #iostream.h and a cout :> of "Hello World". stdio.h and printf (ANSI C) work just fine, but DJGPP :> is useless to me unless I can use C++. :> Thanks No thanks, you're welcome. Robert van der Boon