delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/11/04:00:34.1

From: AndrewJ <luminous-is AT REMOVE DOT home DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Some minor questions...
Message-ID: <n04prso66ougi963v4v95ho8b3084j5jag@4ax.com>
References: <ur_u5.3591$%f1 DOT 142828 AT news1 DOT news DOT adelphia DOT net>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 27
Date: Mon, 11 Sep 2000 07:57:17 GMT
NNTP-Posting-Host: 24.42.120.18
X-Complaints-To: abuse AT home DOT net
X-Trace: news3.rdc1.on.home.com 968659037 24.42.120.18 (Mon, 11 Sep 2000 00:57:17 PDT)
NNTP-Posting-Date: Mon, 11 Sep 2000 00:57:17 PDT
Organization: Excite AT Home - The Leader in Broadband
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Mon, 11 Sep 2000 05:53:30 GMT, "JS" <jmszczap82 AT adelphia DOT net> wrote:

>Hi,
> I'd greatly appreciate any help someone can provide in answering some
>questions for me.

> First off, I've noticed that various programs which use Allegro, do not
>include stdlib.h, yet use certain functions which could only be done when
>including the stdlib.h file. How is this? I must be missing something.

I'm not sure on this one.  Maybe allegro.h automagically includes it?

> Secondly, when setting up a program, is it ever necessary to check the
>allegro_init, install_timer, and install_keyboard functions to see if they
>initialised properly?

You should check the return values of all functions (within reason), regardless
of whether they are libc functions or external library functions.

> Finally, where can I find a list of gcc parameters, so I know what exactly
>to enter at the command line?

Try info gcc->Invoking GCC (I think that's it).  There is a whole mess of
command line switches.

-- 
AndrewJ

- Raw text -


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