some demo write by c language