http://www.cppblog.com/fwxjj/archive/2010/10/11/129416.html 来源:http://www.verydemo.com/demo_c131_i16561.html