vc二进制数值字符相互转换 CString m_s="";char b[10];int v=14; m_s.Format("%s",itoa(v,b,2));BYTE tt;tt=(BYTE)_tcstol(m_s,0,2);