PHP Code:
enum struct test
{
int type;
char info[128];
char file[128];
char name[128];
ArrayList looking;
}
ArrayList mytest = new ArrayList( sizeof(test) );
By reading and writing to this arraylist i am sure the code work well.
My question is why we can use sizeof to a enum struct which contain a arraylist? It's size is dynamic!