Try this:
POS* pos_temp;
...
pos_temp = cameras[i];
pos_temp.x = 333; //ERROR DOES NOT COME HERE ANYMORE (?)


EDIT: Uh, after looking at your code again I realised that you just create pointers and don't create the actual structs. You can do that with malloc:
cameras[i] = malloc(sizeof(POS));

Last edited by Lukas; 12/09/09 19:24.