delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/27/16:47:39

From: "Ingo Ruhnke" <grumbel AT gmx DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ compiler included in "Who is afraid of C++?"
Date: Wed, 27 May 1998 21:05:32 +0200
Organization: Telemedia News Server
Lines: 33
Message-ID: <356c7a61.0@news2.cityweb.de>
References: <199805261201 DOT OAA12341 AT mbox DOT progetto3000 DOT it>
NNTP-Posting-Host: demdwu38.bertelsmann.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Please post _only_ the smallest pice of code which produce the
descriped behaviour and not the complete programm.

O.T.G. wrotes:
>If there are no limits on created program size, can you explain me why if i
>try to compile the attached program, the compiler doesn't finish its work
>and no errors are shown?
>[...]
>What's the problem?

Does it produce an EXE file?
What is the exact command line you type?
Is there any output after compiling?
Are you sure that your installation is correct and that you compile with
gxx or g++? Can you compile small c++ programms?

I have have replaced the #include "string6.h" with #include <string> and
#include <XXXX.h> with #include <XXXX> which is the standard and I got no
problems with compiling ( g++ -o prova.exe prova.cc ).
So I think it must be an installation problem or you didn't type the
correct command.

BTW: And what about a litte bit more indention and split your programm in
     some function and not only one _big_ main function

HTH

  Ingo
--
http://privat.schlund.de/grumbel/



- Raw text -


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