From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Help again. Heh dont you just hate newbies? Date: 27 Aug 2000 17:33:21 GMT Organization: Aachen University of Technology (RWTH) Lines: 12 Message-ID: <8objd1$e7g$1@nets3.rz.RWTH-Aachen.DE> References: <20000825225449 DOT 19275 DOT qmail AT web514 DOT mail DOT yahoo DOT com> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 967397601 14576 137.226.32.75 (27 Aug 2000 17:33:21 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 27 Aug 2000 17:33:21 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Chris Amos wrote: > YES! Thats what I want to do. Dynamic allocation! But how do I > Dynamicly allocate a 2 dimensional array. It would be preferable to do > so because I could aviod the x*y+x math. If you know what I mean. I'd suggest you get yourself a copy of the comp.lang.c FAQ file and look it up. There are several strategies for multidimensional array allocation explained there, all with their pros and contras. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.