把char[]数组里面的内容用MessageBox显示出来 const char *q; q = mysql_get_client_info(); //获得一字符串指针 CString p(q); AfxMessageBox(p);