随笔分类 - C
摘要:1 char encrypt_string[4096] = { 0 }; 2 AES_KEY aes; 3 char key[17] = "quck7295abvdefgh"; 4 char iv[17] = "abcdefgh3762quck"; 5 st...
阅读全文
摘要: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...
阅读全文
摘要:1 #define MAXWORDLEN 10 2 3 int FirstWord = 1 ; 4 int NewWord = 0 ; 5 int Space = 0 ; 6 int Doon = 0 ; 7 int wordlen = 0 ; 8 char c = 0 ; 9 char NumberBuf[MAXWORDLEN+1] ;10 int thisvalue = 0 ;11 int maxvalue = 0 ;12 int thisside = 0 ;13 int i = 0 ;14 ...
阅读全文

浙公网安备 33010602011771号