Dinamically allocate array of array of structures
- From: "valerio" <valerio.daelli@xxxxxxxxx>
- Date: 31 Aug 2006 06:58:58 -0700
Hello all
I would like to dinamically allocate an array of array of structures.
To explain this:
struct file{ char* fileName,int inode) myfiles[];
struct file{ char* fileName,int inode) mydirs[][];
but I would like to do it dinamically with linked list.
I am able to do it for myfiles, but not with mydirs.
Pseudo-code is ok.
If this is not so simple I will use static arrays.
Thanks a lot
Valerio
.
- Follow-Ups:
- Re: Dinamically allocate array of array of structures
- From: Keith Thompson
- Re: Dinamically allocate array of array of structures
- From: Frederick Gotham
- Re: Dinamically allocate array of array of structures
- Prev by Date: Re: changing allocated memory
- Next by Date: Re: Redirection issue
- Previous by thread: General advice on type casting
- Next by thread: Re: Dinamically allocate array of array of structures
- Index(es):
Relevant Pages
|