delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/27/12:17:31

From: viktor DOT lundstrom AT mailbox DOT swipnet DOT se (Viktor Lundstrom)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Learner has Problems!
Date: Wed, 27 May 1998 16:13:46 GMT
Organization: A customer of Tele2
Lines: 31
Message-ID: <356c3b95.490028@nntpserver.swip.net>
References: <01bd897d$77f368c0$0a17e8c3 AT billy>
NNTP-Posting-Host: nn1.swip.net
Mime-Version: 1.0
Cache-Post-Path: nn1!s-13642 AT dialup102-3-46 DOT swipnet DOT se
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Wed, 27 May 1998 10:38:29 -0400, "C.Roche" <Rochey AT Compuserve DOT Com>
wrote:

>I recently decided to move to C (from BASIC). I have donloaded rhide and
>djgpp.
>When I write a program (even a VERY simple one) and attempt to run it,
>nothing happens.
>
>It says that it is compiling and my HD reads/writes for a few seconds, but
>nothing happens and have to press ctrl-break to get out of it. On doing
>this it says "there were errors"
>
>#include<stdio.h>
>int main()
>{
> printf("Hello World!\n");
> exit(0);
>}
>
>As you can see I am very new to C and decided to go about learning the
>*correct* way, as opposed to my learning BASIC.
>
>As well as this Rhide cannot locate it's help files although I am pretty
>sure that the files needed are there.
>
>I don't think it is just me being impatient and not waiting for it to
>compile as I have sat and waited for in excess of 10 minutes!
>
Try to compile without rhide :
gcc hello_world.c -o hello_world.exe

- Raw text -


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