| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| X-Recipient: | djgpp AT delorie DOT com |
| Message-ID: | <4C3CB531.6070304@vanderbilt.edu> |
| Date: | Tue, 13 Jul 2010 13:49:21 -0500 |
| From: | Steven Csorna <steven DOT e DOT csorna AT vanderbilt DOT edu> |
| User-Agent: | Thunderbird 2.0.0.24 (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;
nFactor=212-32;
int nFahrenheit;
nFahrenheit=nFactor*nCelsius/100 + 32;
cout << "Fahrenheit is:";
cout << nFahrenheit;
return 0;
}
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |