Mail Archives: djgpp/1997/02/10/06:30:47
James B. Bryant wrote:
>
> Does DJGPP use _all_ of the same basic libraries that TC v3.X uses?
> What I am specifically interested in is how to allocate mulitdimensional
> arrays, and if they are faster than declaring two 1-D arrays.
Array handling isn't a part of library code; it's basic compiler
functionality. Multi-dim arrays are part of the ANSI C spec, and are
handled in basically the same way by every C compiler I've ever heard
of. You're asking a question that would be better suited to a class or
textbook than a technical support newsgroup.
As far as speed, gcc with optimizations produces better code than any
other DOS compiler. If you use multi-dimensional arrays, gcc will
probably optimize them into something that works a lot faster than two
or more single-dimensional arrays.
> Are there any simple tutorials out there starting from basics moving to
> advanced programming?
Again, this is a matter much better suited to books. Opinions will vary
wildly on what the best is, but you may want to try out Kernighan and
Ritchie (don't remember the name of the book offhand) and/or The Waite
Group's _New C Primer Plus_.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| "Starting flamewars since 1993" | http://www.cs.com/fighteer |
| *** NOTICE *** This .signature is generated randomly. |
| If you don't like it, sue my computer. |
---------------------------------------------------------------------
- Raw text -