string s = "abcde";const char *p = s.c_str();char first_char = *p;这就是第一个字符。。。
std::string s; s = "abc"; s = s.substr(0,1); //s ="a"