摘要:
long myProject::Convert2To10(CString strBuff){ long num = 0, sum = 0; int nLen = strBuff.GetLength(); for ( int i = 0; i < nLen; i++ ) { num = ( strBuff.GetAt(i) - 48 ); num = num * (long... 阅读全文
摘要:
CString myProject::Convert16To2(CString strSource){ //转换成大写字母 strSource.MakeUpper(); CString strDest; for( int i = 0;i < strSource.GetLength();i++ ) { if(strSource.GetAt(i) == '0') str... 阅读全文