fix bin-comm, and add some c examples.