delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/30/19:18:40

Message-ID: <003701be3455$c7004220$81f8c6c3@johans-dator>
From: "Johan Henriksson" <johan DOT he AT telia DOT com>
To: <djgpp AT delorie DOT com>
Subject: Re: Hello world isn't working :(
Date: Thu, 31 Dec 1998 01:37:41 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

from Johan Henriksson      HTTP://come.to/jhewok
Primary mail: johan DOT he AT telia DOT com
Second: jhe75 AT hotmail DOT com     Third: johan_he AT yahoo DOT com
Leadprogrammer and FX-specialist at Real software
http://come.to/real_software
-----Original Message-----
From: Ismael Herrera Zamarron(MCC) <ihz AT uxmcc2 DOT iimas DOT unam DOT mx>
To: Essidartha Emerald <essidartha AT yahoo DOT com>
Cc: djgpp AT delorie DOT com <djgpp AT delorie DOT com>
Date: Thursday, December 31, 1998 12:49 AM
Subject: Re: Hello world isn't working :(


>Maybe your source path is not properly set, in the options menu
>directory you must write the path where your sources are.
>
>__________________________________________________________________________
>|| ||
>||**********************************************************************||
>||______________________________________________________________________||
>|| ||
>|| ||
>||Ismael Herrera Z. ||
>||Maestria en Ciencias de la Computacion  (MCC) IIMAS UNAM Mexico ||
>||ihz AT uxmcc2 DOT iimas DOT unam DOT mx ||
>||http://uxmcc1.iimas.unam.mx/~ihz ||
>|| ||
>||tel. 6 22 36 52 ||
>||    ||
>||                                                                      ||
>|| ||
>||   ||
>||______________________________________________________________________||
>|| ||
>||**********************************************************************||
>||______________________________________________________________________||
>
>On Wed, 30 Dec 1998, Essidartha Emerald wrote:
>
>>
>>
>> My hello world doen't work :( how can this be??
>>
>> #include


Delete that row!

>>
>> int main()


it should be main() or main(void)

>> {
>>   printf("Hello world!\n");
>>   exit(0);


You don't need that one either. When it comes to the end of main, it exits
anyway

>> }
>>
>> I got the message:
>>
>> get program exit code -1 (oxffffffff)
>> 0 is Zero
>> Is there something wrong with the code or is the compiler not working
>> right or what did I do wrong?
>>
>> I have tried it a few times.
>>
>>
>> _________________________________________________________
>> DO YOU YAHOO!?
>> Get your free @yahoo.com address at http://mail.yahoo.com
>>
>>
>
>

- Raw text -


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