Mail Archives: djgpp/2001/09/01/10:47:54
I have downloaded and unzipped all files recommended by the "zip-pick" for a win98 system. I have followed the instructions on installing Djgpp. Go32-v2 shows that I have DPMI memory available: 236183KB and DPMI swap space: 88309KB.
When attempting to compile the following program from the book by Stephen Davis " C++ Weekend Crash Course" I am given the following error message:
Error: iostream.h: No such File or Directory ( ENOENT).
The program is a simple program for converting degrees C to degrees F...here it is
#include <stdio.h>
#include <iostream.h>
int main(int nNumberofArgs, char*pszArgs[])
{
int nCelsius;
cout<<"enter degrees c";
cin >> nCelsius;
int nFactor;
nFactor=212-32;
int nFahr;
nFahr=nFactor * nCelsius/100+32;
cout << "fahr value is:";
cout << nFahr;
return 0;
}
Again, I have downloaded the recommended files.
Thank you
J Williamson
- Raw text -