Problem:
In the C time, we used to use sscanf to read data from string as following:
char strUserName[20], strPassword[20];
// if the content of m_recvBuff is “Microsoft Bill”.
sscanf((const char *)m_recvBuff, “%s %s”, strUserName, strPassword);
And when you first get CString in sight, you may write the similar code:
CString strUserName, strPassword;
// if the content of m_recvBuff is “Microsoft Bill”.
sscanf((const char [...]