HELP: ways to alloc multidimensional arrays 
Author Message
 HELP: ways to alloc multidimensional arrays

hi,
can some kind soles help me with allocating multidimensional arrays when the
size of the array will not be known until run time?
what are the common ways to do this? if this info is in a FAQ please let
me know which one and where i can get it. references to texts will not
be helpful as the local library doesn't have much to offer and what is is
usually out.

please email responses as i am not always able to read news.
thank you
victoria
--
Ms Victoria Spagnolo - Scientific Officer/Programmer

Massey University                       |       Voice: +64-6-350-5033
Palmerston North                        |       Fax: +64-06-350-5694
New Zealand                             |       New Zealand = GMT+12



Fri, 22 May 1998 03:00:00 GMT  
 HELP: ways to alloc multidimensional arrays

Quote:

>hi,
>can some kind soles help me with allocating multidimensional arrays when the
>size of the array will not be known until run time?
>what are the common ways to do this? if this info is in a FAQ please let
>me know which one and where i can get it. references to texts will not
>be helpful as the local library doesn't have much to offer and what is is
>usually out.

It is in the c.l.c faq list.  You can d/l it (anonymous ftp) from rtfm.mit.edu
/pub/usenet/comp.lang.c.

--
John R Buchan           -:|:-     Looking for that elusive FAQ?  ftp to:



Sat, 23 May 1998 03:00:00 GMT  
 HELP: ways to alloc multidimensional arrays

Quote:

>hi,
>can some kind soles help me with allocating multidimensional arrays when the
>size of the array will not be known until run time?

I haven't met many kindly fish but if one were reading this newsgroup
I'm sure it would tell you that there is an excellent explanation of this
in the comp.lang.c FAQ which may be found along with most other FAQs
via ftp at rtfm.mit.edu under /pub/usenet.

--
-----------------------------------------


-----------------------------------------



Sun, 24 May 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. HELP: ways to alloc m

2. HELP: Dynamically Alloc'd array

3. Multidimensional Array Help

4. HELP! Multidimensional array won't work

5. Help with structs / multidimensional arrays?

6. help!!!, fein0001@gold.tc.umn.edu, large multidimensional arrays

7. Dynamic Alloc - Arrays

8. non-local pointers to c(m)alloc'ed arrays

9. global alloc and numeric arrays

10. How access alloc'ed string as array?

11. (*)alloc for large arrays?

12. Different ways of implementing a 2d array

 

 
Powered by phpBB® Forum Software