Mail Archives: djgpp/2000/09/11/04:00:34.1
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 -