Original Post
i have a structure with two pointers:
struct something
{
constructer *x;
int *y;
}
how do i perform dynamic memory allocation on this:
something *a = (SOMETHING*)malloc(size*sizeof(SOMETHING));
is not the correct way since this doesnt take the second pointer in account.
Somebody please help me.