网址:http://blog.csdn.net/xuzengqiang/article/details/7476671
http://www.cppblog.com/sdfond/archive/2010/02/06/107403.aspx