www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/27/17:09:49

Message-ID: <000d01bfe07c$77eab420$0d00a8c0@mike>
From: "Michael Stewart" <mike AT coolstyle DOT screaming DOT co DOT uk DOT screaming DOT net>
To: <djgpp AT delorie DOT com>
References: <20000627192726 DOT 3930 DOT qmail AT hotmail DOT com>
Subject: Re: Djgpp
Date: Tue, 27 Jun 2000 22:12:52 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Reply-To: djgpp AT delorie DOT com

> I am new on programming to C and i have been told that there is a free C
> compiler and not because it is free and because it is the best. As you
know
> that i am very new to C programming and very new to Djgpp too!
> I went surfing on the net about the Dhgpp but i didnt find nothing only
the
> page itself www.delorie.com/djgpp.

If you search for the DJGPP webring you should find a lot of other sites.
One list which is particulary good is maintained by SET at
http://www.geocities.com/SiliconValley/Vista/6552/dlinks.html

> I have a very big problem is that studying the Djgpp compiler is very hard
> so i learnt the main bits But there is a very very very big problem i
swear
> that no other compilers have it which makes djgpp so poor and bad for me
is
> that when i wright my code or source code for my new program and i want to
> run it first i must compile and run it but i always get this messege or
info
> messege that i cant run the code or let the compiler run it i get always
> this messege if i done everything right and it is:
> "Program Exit Code: 0 (0x0000)" ??????????

This is nothing to worry about. This is just the return value from your
program. If for example main() finished with "return 0;" like:

int main () {
   return 0;
}

then you would receive the message that you did. While if you quit your
program with a value of "1" (indicating an error, maybe?) like:

int main () {
   return 1;
}

would give you
"Program Exit Code: 1 (0x0001)"

> why do other programmers doesnt have this i dont know why maybe because of
> the program itself i thought that the compiler would run the source code
if
> u want but with Djgpp i cant i must just compile it into a program and
thats
> all i want to every compiler should be able to change the source codes
into
> the program or evry compiler would run its codes but with Djgpp in my Pc i
> get that above messege well i dont know why i went deleting and extracting
> back again the files and i have downloaded what is needed and done what it
> was told to do but well still i dont know what to do is it to find other
> compilers or stay with this Compiler which is i like most and refere most
i
> hope u may help me with that such of problem because i like this compiler
so
> so much and dont want to move to another one so please help me with that
> problem please ......

Don't worry about it, I personally find it to be a handy feature when
debugging programs.

Mike

- Raw text -


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