www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/07/20:17:21

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Chris Barry" <crbarry AT mts DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: RHIDE and C++ lib
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <xFTh8.98$5m3.2692@news1.mts.net>
Date: Thu, 7 Mar 2002 18:29:05 -0600
NNTP-Posting-Host: 216.130.92.66
X-Complaints-To: admin AT mts DOT net
X-Trace: news1.mts.net 1015547613 216.130.92.66 (Thu, 07 Mar 2002 18:33:33 CST)
NNTP-Posting-Date: Thu, 07 Mar 2002 18:33:33 CST
Organization: MTS Internet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi. I need a little help with something; I've been using RHIDE and DJGPP for
over a year, but sometimes (like right now), when I start a new project and
try to compile a simple source file, RHIDE complains about cout being
undeclared or somesuch. Here; I'm trying to compile a simple Hello, WOrld
and I get errors:

#include <iostream>

int main()
{
   cout << "Hello, World!!";
   return 0;
}

In functions `int main()':
Hello.cpp(5) Error: `cout' undeclared (first use this function)'

I'm not sure how to get rid of this. It usually doesn't happen. Any ideas?
Thanks.


Chris Barry


- Raw text -


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