|
[建议]一些胡乱的想法--大家可以考虑下
最初由 TarZan 发布 确实是个不错的提议! |
|
一个获取硬盘序列号和计算MD5,BASE64,SHA的工具.(附VC源码)
假期了,偶也正有这个打算,去扩充下 |
|
新体验: ATL 方法建造 window 程序
不错,有空试试 |
|
请问这是什么压缩算法?
不知道叫什么名字, 看起来只是一个简单的解压算法 大致思路如下: 一个源串:source 一个目标串:dest 一个辅助数组:dict 1、逐字节扫描source串,结构为“flag+data”,可以把source串看做若干个这样的结构: 结构为:1).1个flag字节 2).8个数据(连续的,每一个的数据为1个字节或2个字节,这是由flag位决定) flag字节的每个位依次对应1个数据。如果flag的第i位为1,那么第i个数据直接写入目标串 2、如果flag的第j位为0,那么这个结构中的第j个数据为两个字节。 例如:假设磁盘的十六进制存储形式为……ABCD…… ==》pos = 0XCBA ;len = D + 3 ; 这里的len实际上表示表示的是向目标串dest中写入的字节数。 而这 len 个字节的数据是通过辅助数组dict的 程序中的:dict[(pos + i) & 0x0fff] 显然dict中以pos为起点的连续len个字节就是要写入的数据。 当然,如果到达dict尾时要回到索引0位置。 3、上面两个是重点,当然还有一些操作,比如每次向dest中写入数据的时候,都需要 在dict的对应项中生成一个值。 相信这些构不成难度。 只要搞清楚上面两点就OK 了 |
|
|
|
|
|
|
|
|
|
|
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值