www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/03/06:16:44

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Rhide
Date: 3 Jun 2002 10:02:56 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 20
Message-ID: <adfesg$jjr$1@nets3.rz.RWTH-Aachen.DE>
References: <001c01c20a86$54ab40c0$0200a8c0 AT tim>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1023098576 20091 137.226.32.75 (3 Jun 2002 10:02:56 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 3 Jun 2002 10:02:56 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Tim <katarn AT starband DOT net> wrote:
> I am sorry to bother you but I have a problem with Rhide, the compiler for C++. I wrote a very small program and saved it as Hello 
>     When I tried to compile it, it said,"Don't know how to build Hello.o from c:/djgpp/Projects/Hello" 

This message almost certainly means that you put the wrong file into
your RHIDE project list, or chose the wrong name for the file.  You're
supposed to name your C++ source files with a '.cpp' or '.cc'
extension, i.e. not "Hello", but "Hello.cpp" or "Hello.cc".

> #include <iostream.h>

The tutorial you copied this sample from is outdated.  ANSI C++ has
moved away from <iostream.h> as the header file name --- it's now just
<iostream>, and you have to use namespaces to access the functions
it implements.  

In short: get a newer tutorial.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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