Arrays of pointers
e89hse at rigel.efd.lth.se
e89hse at rigel.efd.lth.se
Tue May 29 13:34:18 AEST 1990
In article <1990May28.145851.2407 at cs.utk.edu>, wozniak at utkux1.utk.edu (Bryon Lape) writes:
> What I need to know is how to have a dynamic length array of
>fixed length character strings. Basically, I need an array of strings
>14 characters long. I tried
> char *array[14]
>but this sets up an array for variable length strings (14 array
>elements). what I need is the opposite. Any ideas?
Try with:
char (*array)[14];
or maybe even
char (*array)[14+1];
Henrik Sandell
More information about the Comp.lang.c
mailing list