摘要: void FormatBinary(__int64 num,char buf[]){ int nCount = 0 ; while ( 1 ) { if( ( (__int64) 1 num) break ; if( ( num >> nCount ) & 1 == 1) { buf[nCount] = '1'; }else { buf[nCount] = '0' ; } nCount++; } fo... 阅读全文
posted @ 2013-06-29 20:16 nXqaL 阅读(318) 评论(0) 推荐(0) 编辑