www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/09/13:00:20

From: Uwe Homm <uhomm AT gmx DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP/RHIDE on W2K
Date: Mon, 09 Sep 2002 18:52:36 +0200
Organization: T-Online
Lines: 34
Message-ID: <3D7CD1D4.5C95D85C@gmx.de>
Mime-Version: 1.0
X-Trace: news.t-online.com 1031590197 06 2188 RY8sb6iSraZS0 020909 16:49:57
X-Complaints-To: abuse AT t-online DOT com
X-Sender: 320096486395-0001 AT t-dialin DOT net
X-Mailer: Mozilla 4.75 [de] (Windows NT 5.0; U)
X-Accept-Language: de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi NG,

i installed the above mentioned components and then i built the typical
"Hello, world".

I got some errors and i cannot interpret them. The compiler tells me
something about backward-warnings in the file iostream.h which i
included

So i read somewhere around in the textfiles and i found that i should
replace

#include <iostream.h>

with

#include <iostream>

Ok. But now i get the message that cout is undeclared. :(((

If i set the compiler-option with "-Wno-deprecated" (told in iostream.h
as workaround) it works fine. But the EXE is pretty big.

My Hello.exe has a size of about 1.450KB. Using stdio and printf
produces an EXE of about 95KB.

What the .... is that?

Can anyone explain me the things?

-- 
Mit freundlichen Grüssen

Uwe Homm

- Raw text -


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