finish tutorial c source code