From: AndrewJ Newsgroups: comp.os.msdos.djgpp Subject: Re: Some minor questions... Message-ID: References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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" 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