Description: Checksum calculation process is divided into bits of three steps: the input data file, the checksum calculation and verification results of the output. Input data may be stored in characters, and checksum calculation will have to use the data in the form, so read the data from the file, should be carried out to the data conversion between the character. Using C++ programming directly using 16 hex way to open the input file. The data to be verified by adding a flat 16-bit bit by bit into the side loop, the last 16 bits of data on income inversion code. Because the data to be verified by a byte-delimited, so for convenience, the 16-bit 8-bit data into high and low 8-bit processing.
To Search:
File list (Check if you may need any files):
Code\Checksum.cpp
....\Checksum.dsp
....\Checksum.dsw
....\Checksum.ncb
....\Checksum.opt
....\Checksum.plg
Code