http://zhedahht.blog.163.com/blog/static/25411174200731139971/ 要注意几点: 1. 如果输入的字符串有错,该如何显示错误 2.溢出 3.正负号 4.指针是否为空