Mail Archives: djgpp/2010/07/13/14:49:40

X-Authentication-Warning: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <>
Date: Tue, 13 Jul 2010 13:49:21 -0500
From: Steven Csorna <steven DOT e DOT csorna AT vanderbilt DOT edu>
User-Agent: Thunderbird (Windows/20100228)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: iostream.h trouble
X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166
definitions=2010-07-13_02:2010-02-06,2010-07-13,2010-07-13 signatures=0
X-PPS: No, score=0
Reply-To: djgpp AT delorie DOT com

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;
  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