delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/07/13/16:02:09

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from
:user-agent:mime-version:to:subject:references:in-reply-to
:content-type:content-transfer-encoding;
bh=zrnrRasqXVAM79/mPzge9sIMxGVQbcPPtFBloPr3OXE=;
b=cE+D5yTrgfnABoYGRphBc/BJee5JRsn4gFv01Dy4JGP+O3aOWEGYa7QsKTwS547W+x
ZonveavPSqkBTWqkzotx34j/zQVKJBg5hwmcLjyy/PL0mDYDEj5F0zmH6KP0o4Q0+H1L
2hYQ3ipH02+uHDtslAHMVGLf1Lhk1JwL1uU74=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:date:from:user-agent:mime-version:to:subject:references
:in-reply-to:content-type:content-transfer-encoding;
b=tvbFg+yDZrv5A6Y8VdN5jfJXZ2bmgTP3HmD1GYc5HTYjqZPIT3UDAL3eeUMCoB0GIG
b3MqKFi3Tn6mfZZ2jwNYwxkNmcDcrwkbyEvVfZJlgLSL5kffwFy/gTIk5Ne7D7GE9Zo1
MLHfboJslYOmn9uBAHJ5Xgo7pH9T3bB584b4c=
Message-ID: <4C3CBED1.90805@gmail.com>
Date: Tue, 13 Jul 2010 15:30:25 -0400
From: Matthew Petricone <strstream AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: iostream.h trouble
References: <4C3CB531 DOT 6070304 AT vanderbilt DOT edu>
In-Reply-To: <4C3CB531.6070304@vanderbilt.edu>
Reply-To: djgpp AT delorie DOT com

Have you tried "#include <iostream>". The headers were changed at some 
point, I am not sure if djgpp has mirrored this.
On 7/13/2010 2:49 PM, Steven Csorna wrote:
> In rhide
>
> I am getting ERROR 22 iostream.h: no such fileor directory. Sure 
> enough, though I followed download instructions
> from Zip Picker, I cant find  iostream.h in any of the subfile 
> directories. Where is iostream.h ?
>
> I get same problem with iostream if I use gcc,gxx or gpp from DOS 
> window...
> I saw others struggling with this kind of problem, but solution seems 
> to be not posted
> (unless you regard reference to incomprehensible readme.1st a solution!).
> Regards and Thanks
> Steve Csorna
>
> Here my program, conversion.cpp:
>
> //
> //conversion C->F
> #include <stdio.h>
> #include <iostream.h>
> int main(int nNumberofArgs, char* pszArgs[])
> {
>  int nCelsius;
>  cout << "Enter Celsius:";
>  cin >> nCelsius;
>  int nFactor;
>  nFactor=212-32;
>  int nFahrenheit;
>  nFahrenheit=nFactor*nCelsius/100 + 32;
>  cout << "Fahrenheit is:";
>  cout << nFahrenheit;
>
>  return 0;
> }
>
>

- Raw text -


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