感谢大佬的帖子

http://www.cnblogs.com/quickcodes/p/5399385.html