10-08-2009, 07:40 PM
The question was:
But i solved it with a two dimension array
Thanks anyway for the replies!
Code:
int f_mov(char uno, char dos, int op, int pid)
{
if(oneop(op) || op == O_NULL)
return ERROR;
/*Here, i want to do something like:
est[pid].[uno]=est[pid].[dos];
or something to avoid a lot of comparisions*/
return OK;
}
But i solved it with a two dimension array
Thanks anyway for the replies!