add c source code