参照的是这个链接
http://blog.csdn.net/u012398902/article/details/46785397
1. string转const char*
2. const char*转string
3. string转char*
4. char*转string
5. const char*转char*
6. char*转const char*
参照的是这个链接
http://blog.csdn.net/u012398902/article/details/46785397
1. string转const char*
2. const char*转string
3. string转char*
4. char*转string
5. const char*转char*
6. char*转const char*