Mail Archives: djgpp/2002/11/14/15:58:58
"Shaymaa Alterkait" <shayoom AT hotmail DOT com> wrote in
message
news:<OE626uwbnDIciF1NLf400003fc2 AT hotmail DOT com>...
>i am running windows Xp and i downloaded the correct
>files to run RHIDE on my system.
>
>this is what i got for the go32-v2:
>the DPMI memory available : 82790KB
>the DPMI swap space available : 0KB
>
>i dont know about the environ one, if you explain to
> me what it is??
>
>
>anyway, i just downloaded the files, followed the
>exact steps and now i can run the program... yaaay!
>
>but when i wrote a very simple program to check if
>its running properly, i compiled it, and it gives me
>errors on the cout! this was my program:
>
>#include <iostream>
>
>int main()
>{
>
>cout<<"TESTING!!";
>
>return 0;
>}
>
>this is the error i get:
>
>ERROR : 'cout' undeclared ( first use of this
>function)
Nothing's wrong with your compiler - it's your program
that is wrong, as the compiler is correctly pointing
out. Either (1) change the cout line to:
std::cout << "TESTING!!";
or (2) add a line right before it that reads as
follows:
using std::cout;
In addition, get yourself a new C++ book - whatever
you're using is out of date. I recommend "Accelerated
C++" by Andrew Koenig and Barbara Moo.
Best regards,
Tom
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
- Raw text -