1.
- CString cs;
- int value;
- sscanf((LPCTSTR)cs, "%d", &value);
- CString str="1234";
- int i = atoi((char*)LPCTSTR(str));
- (LPCTSTR)m_srvName
left(int count), right(int count), Mid(int left, int right), GetLength()
- CString m_srvName;
- if (m_srvName.Right(4) == ".exe")
- {
- m_srvName = m_srvName.Left(m_srvName.GetLength() - 4);
- }
- AfxMessageBox(m_srvName.Mid(0,4));
344



被折叠的 条评论
为什么被折叠?



