theCprogramminglanguage第二版的答案很不错