Mail Archives: djgpp/2002/06/09/17:58:20
Dear DJGPP people,
>
> I am having trouble with DJGPP. I got it installed but when I try to
compile
> a C++ program (run gpp c:\djgpp\bin\test.cc), i get the following:
>
> "In function int main()
> C:\djgpp\bin\test.cc:4: cout undeclared (first use this function)"
>
> Source Code:
> #include <iostream>
> int main()
> {
> cout<<"Hi! \n";
> return 0;
> }
> ---end source----
>
> I tried all your steps on the website to fix this problem, but none
> worked...thank you for your help!
>
> have a good day!
>
> Joshua
>
- Raw text -