Search Results for 'CString to Hex'


1 POSTS

  1. 2008/03/11 CString to Hex by dino

CString to Hex

// CString 문자열의 값을 HEX 값(16진수)로 리턴하는 함수입니다.
// 조금 응용하면 다르게 표현도 가능하겠죠 ㅎㅎ

CString ConvertToHex(CString data)
{
     CString returnvalue;
     for (int x = 0; x < data.GetLength(); x++)
     {
          CString temporary;
          int value = (int)(data[x]);
          returnvalue.format("%02X ", value);
          returnvalue += temporary;
     }
     return returnvalue;
}

크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2008/03/11 16:22 2008/03/11 16:22
, , ,
Response
No Trackback , No Comment
RSS :
http://corpseplay.com/rss/response/16


블로그 이미지

시체놀이닷컴

- dino

Notices

Site Stats

Total hits:
49301
Today:
105
Yesterday:
108