函数GetBuffer()功能:得到字符串的首地址CString str;str=_T( "123456"); str+=_T("78910");char a[20];//得到字符串首地址赋给astrcpy(a,str.GetBuffer(0));str.ReleaseBuffer();SetDlgItemText(IDC_EDIT1,a);显示 12345678910 ch=str5 不可以这样赋值 相关文章: 2022-01-22 2021-12-10 2021-07-25 2021-07-03 2021-12-22 2021-07-11 2021-09-19 2022-01-26