memberpos is an array of integer pointers, I'm trying to set the variable that it points to to 1, but I cant figure out where to put the *Code:puzzle->box[box].boxmember[n].memberpos[num] = 1;
results in an access violation errorCode:*(puzzle->box[box].boxmember[n].memberpos[num]) = 1;