const char* <----- > string (1) const char* <----- string const char* const_txt_path=txt_path.c_str(); (2) string <------ const char* xxx.str()