Beh ... queste

codice:
double *pvelx=NULL;
*pvelx=ttt.velx;
sono evidentemente sbagliate e creano un crash