11-30-2006, 03:28 AM
Is there a way to have a struct hold an pointer to an instance of itself?
I know that this code doesn't work, is there a trick to doing it somehow?
Code:
typedef struct{
int size;
int blocksize;
cache *subcache;
} cache;
I know that this code doesn't work, is there a trick to doing it somehow?