能力值:
( LV6,RANK:90 )
|
-
-
2 楼
有高手帮看下吗 急待解决 为谢
|
能力值:
(RANK:570 )
|
-
-
3 楼
你说的位,是一个字节吧?
|
能力值:
( LV6,RANK:90 )
|
-
-
4 楼
是的,就是想知道怎么把它在注册机的编写时表示出来。
|
能力值:
(RANK:570 )
|
-
-
5 楼
这还不简单?
在可见字符范围内随机选一个啊,然后就能计算出另外一个啊
|
能力值:
( LV6,RANK:90 )
|
-
-
6 楼
能说的具体些吗 不解啊 呵呵 我是新接触 谢谢啊
|
能力值:
( LV6,RANK:90 )
|
-
-
7 楼
谁能给说的详细下吗 感激不尽之
|
能力值:
( LV12,RANK:210 )
|
-
-
8 楼
typedef unsigned char uint8;
uint8 sn[10];
sn[0] = uint8(rand() % 0x6e);
sn[9] = 0x6d - sn[0];
sn[1] = uint8(rand() % 0x68);
sn[6] = 0x67 - sn[1];
sn[2] = uint8(rand() % 0x6a);
sn[7] = 0x69 - sn[2];
sn[3] = uint8(rand() % 0x71);
sn[8] = 0x70 - sn[3];
sn[4] = 0x1b;
sn[9] = 0x64;
printf("%2d%2d%2d%2d%2d%2d%2d%2d%2d%2d \n",
sn[9], sn[8], sn[7], sn[6], sn[5],
sn[4], sn[3], sn[2], sn[1], sn[0]);
|
能力值:
( LV12,RANK:210 )
|
-
-
9 楼
vb:
optional explicit
private function tohex(byte b) as string
tohex = right("00" & hex(b), 2)
end function
private sub command1_click()
dim sn(9) as byte
randomize timer
sn(0) = CByte(fix(rnd() * &h6e))
sn(9) = &h6d - sn(0)
sn(1) = CByte(fix(rnd() * &h68))
sn(6) = &h67 - sn(1)
sn(2) = CByte(fix(rnd() * &h6a))
sn(7) = &h69 - sn(2)
sn(3) = CByte(fix(rnd() * &h71))
sn(8) = &h70 - sn(3)
sn(4) = &h1b
sn(9) = &h64
msgbox tohex(sn(9)) & tohex(sn(8)) & tohex(sn(7)) & _
tohex(sn(6)) & tohex(sn(5)) & tohex(sn(4)) & _
tohex(sn(3)) & tohex(sn(2)) & tohex(sn(1)) & _
tohex(sn(0))
end sub
凭印象写的, 自己调试下。
|
能力值:
( LV6,RANK:90 )
|
-
-
10 楼
谢谢啊 大哥
|
|
|