hi
just wanted to know what CRC32 is????
how to i calculate CRC32 of numbers using C??
hi
just wanted to know what CRC32 is????
how to i calculate CRC32 of numbers using C??
http://www.snippets.org/snippets/portable/CRC+TXT.php3
[edit]
Someone's question got me Googling and I ran across another good site that I hadn't bookmarked previously:
Snippets of C Code (not the Snippets)
On this page was a shorter CRC32 code example.
[/edit]
Last edited by Dave_Sinkula; 05-31-2003 at 07:08 PM.
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*
In other words, it's a 32 bit value that is generated by shoving each byte in a file (for example) into an algorithm to get a unique number for the the file.
It can be as simple as adding all the bytes together and ignoring overflow to complicated computations that do very weird things to the bytes.
Definition: Politics -- Latin, from
poly meaning many and
tics meaning blood sucking parasites
-- Tom Smothers