delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/11/16:54:01

Date: Tue, 11 Mar 1997 23:40:10 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: macko AT ix DOT netcom DOT com
cc: djgpp AT delorie DOT com
Subject: Re: absolutely beginner
In-Reply-To: <332582e8.51843288@nntp.ix.netcom.com>
Message-ID: <Pine.SUN.3.91.970311233030.2704M-100000@is>
MIME-Version: 1.0

On Tue, 11 Mar 1997 macko AT ix DOT netcom DOT com wrote:

> instructor to try first. According to him these files can test if the
> compiler is able to handle exceptions and templates, which is a must. 

Exceptions are hardly a beginner's stuff.  In particular, using exceptions
with gcc requires a special command-line switch -frtti and have a few more
subtleties.  I suggest you search the DJGPP mail archives for the word
"exception", there was a thread a week or so ago about this.  Point your
Web browser to http://www.delorie.com/djgpp/mail-archives/. 

> For IDE I downloaded and installed Emacs first, then  Rhide. I was
> unable to use emacs at all

If you still want to try Emacs, please tell what were the problems that 
prevented you from using it.  Didn't it start up?  Were you unable to 
compile from within it?

> E.g. I open q2.txt in rhide then try to compile it says: "Don't know
> how to build q2.o from q2.txt. I guess, it is because it can not
> handle *.txt, so I rename it to q2.c then the message is  "error:
> iostream.h: no such  file or directory (ENOENT)".
> Could you give me more suggestions, please.

C++ programs MUST have special extensions, or else the compiler won't 
know what to do with them.  Give your C++ programs a .cc extension, your 
C programs a .c extension and things will work for you.

And btw, generally, it is best to post here specific problems with 
detailed descriptions of what did you try and how did it fail for you.  
For example, your original message was too general, so you got a 
reiteration of the README file which you already read.  If you were to 
tell that you tried to compile q2.txt, or quote the error messages that 
you got, the help you get would have been much more efficient.

- Raw text -


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