c examples from http://blog.eairship.kr/