【C++VS编译器】记录一下:如果想要实现从string类型数据转换成const char *类型的数据,应该这样写string str1="zhang" ;const char* s = str1.c_str() ;VS编译器真是难绷……