C Programming Language 一书中编程练习的实现