ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/01/09:24:13

Xref: news2.mv.net comp.os.msdos.djgpp:1575
From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: iostream.h
Date: Tue, 27 Feb 1996 07:04:53 -0800
Organization: &tSftDotIotE
Lines: 18
Message-ID: <31331D95.1C405896@alcyone.com>
References: <4gtiuq$9pc AT ultra DOT sonic DOT net>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

derrick AT sonic DOT net wrote:

> I'm pretty unadvanced with C/C++, and I only know a little about the Borland
> compiler, so this is gonna sound like a really dumb question, but here it
> is:
> 
> What do i need to do to include iostream.h?  Whenever I include it, it won't
> let me use cout or cin...

You need to link in the library.  Put -liostream at the end of your command
line.

-- 
Erik Max Francis, &tSftDotIotE. && max AT alcyone DOT darkside DOT com || max AT alcyone DOT com
San Jose, California, U.S.A. && 37 20 07 N 121 53 38 W && the 4th R is respect
H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`- && 1love && folasade
Omnia quia sunt, lumina sunt. && GIGO Omega Psi && http://www.alcyone.com/max/
"Out from his breast/his soul went to seek/the doom of the just." -- _Beowulf_

- Raw text -


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