delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/09/17:58:20

From: GatorBoy2004 AT cs DOT com
Message-ID: <a.201ff1c0.2a352900@cs.com>
Date: Sun, 9 Jun 2002 17:56:16 EDT
Subject: help
To: djgpp AT delorie DOT com
MIME-Version: 1.0
X-Mailer: CompuServe 2000 32-bit sub 103
Reply-To: djgpp AT delorie DOT com

 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019