摘要:
LPTSTR GetBuffer( int nMinBufLength ) 这个函数是CString 的一个比较实用的函数,请看如下示例:GetBuffer(int nMinBufLength);的参数问题一直比较困扰人,网站的资料还像也不是太好给的,请看msdn解释ParametersnMinBufLengthThe minimum size of the character buffer in characters. This value does not include space for a null terminator.得到buffer的最小长度,当然这是由我们自己设定的一个参数, 阅读全文