参考 [1] http://www.cnblogs.com/bakari/archive/2012/08/28/2659889.html [2]《C专家编程》 [3 ]http://www.cnblogs.com/charley_yang/archive/2010/12/15/1907384.html