void MyFunction(int nSize) { char* p= new char[nSize]; if( !GetStringFrom( p, nSize ) ){ MessageBox(“Error”); return; } …//using the string pointed by p; delete p; }
65,206
社区成员
250,519
社区内容
加载中
试试用AI创作助手写篇文章吧