0xA7,0x58,0x59 这些标识是什么?
做一个Checksum的小程序
有一个FILE按钮,点击打开文件对话框,打开一文件在三个EDIT里会生成0xA7,0x58,0x59 的标识,这些标识好象是每个文件随机产生的,不知道是什么东西,谁能告诉我吗?谢谢!!!
下面是程序要求,希望那位同仁能一并写个解决的过程(步骤即可),感激不尽~~~~~~
REQUIERMENT
1. FUNCTIONS
Create a dialog based program that
(1) Calculate the Checksum for a file;
(2) Get Recent File Date time in the format “mm-dd-yyyy hh:mm:ss”
(3) Create check file list in the format (example):
FileName CheckSum Date/Time
file1 0x01 04-05-2005 10:12:13
file2 0xA1 06-05-2005 10:18:19
…
(4) Read the check file to verify the integrity.
Note:
(1) Checksum is the lowest byte for sum of all bytes in the file.
(2) You can refer to the program “CheckSum Calculator.exe”.