编译的时候会报如下错误:
warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]

 改正:将返回值char * 改成const char *