char *temp[6]; for(int i = 0;i< 6;i++) { CString str; str = m_list.GetItemText(nItem,i); temp[i] = str.GetBuffer(0); } strcpy(send.creator,temp[0]); strcpy(send.taskname,temp[1]); //...
[quote=引用 1 楼 paschen 的回复:] temp[i] = str.GetBuffer(0); 改成: temp[i] = str.GetBuffer();
temp[i] = str.GetBuffer(0); 改成: temp[i] = str.GetBuffer();
64,648
社区成员
250,503
社区内容
加载中
试试用AI创作助手写篇文章吧