delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/20/13:20:26

Date: Tue, 20 Jun 2000 19:20:12 +0200 (MET DST)
From: pad2369 <pad2369 AT iperbole DOT bologna DOT it>
Message-Id: <200006201720.TAA12682@maggiore.iperbole.bologna.it>
To: djgpp AT delorie DOT com, ~wedding-service~ UK <david AT wedding-service DOT co DOT uk>
References: <961514781 DOT 13064 DOT 0 DOT nnrp-06 DOT c2dead53 AT news DOT demon DOT co DOT uk> <961516038 DOT 2798 DOT 0 DOT nnrp-08 DOT c2dead53 AT news DOT demon DOT co DOT uk>
In-Reply-To: <961516038.2798.0.nnrp-08.c2dead53@news.demon.co.uk>
MIME-Version: 1.0
User-Agent: IMP/PHP3 Imap webMail Program 2.0.11
Sender: pad2369 AT iperbole DOT bologna DOT it
Subject: Re: DJGPP RHIDE Anyone know how to get it to Compile ?
Reply-To: djgpp AT delorie DOT com

<david AT wedding-service DOT co DOT uk>:

> I just want to paste in ..........
>
>
> #include <iostream.h>
>
> int main()
> {
>    cout << "Hello World!\n";
>    return 0;
> }
>
> and have it compile.

I don't use rhide, so I cannot be very precise here, 
please someone correct me if I am wrong...

if you are running windows the open a dos box.

move to the directory you would like to put your source 
files.

run rhide

create a new project (I am not sure if there is a menu 
item "new project" or you have to "open project" 
specifying a non-existent project name so that rhide 
will create it for you)

Create a new source file (menu File|New)

Type in your code.

Save the source (menu File|Save) (remember that you 
have to specify .cc or .cpp extension otherwise it will 
not be recognized as a C++ source)

Build the program (Menu Compile|Build All)

Now you should be able to run youe program (I can't 
remember if it is menu Run|Run  Compile|Run or 
Debug|Run)

good luck!

ciao
  Giacomo
-----------------------------------------------------
Giacomo Degli Esposti - pad2369 AT iperbole DOT bologna DOT it

- Raw text -


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