Mail Archives: djgpp/1997/03/11/16:54:01
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 -