dump output to c file