Mail Archives: djgpp/1998/01/27/04:53:39
I gotta problem here, i'm running rhide with djgpp and can't seem to
get some stuff goin:
first you don't have some header files like iostream.h
sorry if there's some other file names becoz i'm used to Borland C++
so, i used io.h for a test prog like this:
#include <io.h>
main ()
{
int x, y, sum;
cout<<"\nEnter first number: ";
cin>>x;
cout<<"\nEnter second number:";
cin>>y;
sum = x + y
cout<<"\nSum = "<<sum;
return 0;
}
and what i got?
i got this : 1. cout, undeclared (first use this function)
2. each identifier is reported only once
3. for each function it appears in
4. cin undeclared (first use this function)
So, basically i have some problems with the header files, and
actually i can't run anything if this thing stays like that.
Hope you can help me,
Hate,
trouble
- Raw text -