clean up C examples