Eheh, hai copiato male tu!

1) Ricopiati 'struct Record' per come te l`ho riproposta nei posts precedenti;

2) Cambia questo:

codice:
L tmp= l;
Con:

codice:
L* tmp= &l;
E:

codice:
tmp=new Record(q->elem);
Con:

codice:
*tmp=new Record(q->elem);
Vedi come imbrattano a volte i typedef?

Ciao.