Thread: Crc32

  1. #1
    Registered User
    Join Date
    Mar 2003


    just wanted to know what CRC32 is????
    how to i calculate CRC32 of numbers using C??

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002

    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.
    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.*

  3. #3
    Been here, done that.
    Join Date
    May 2003
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Crc32?
    By RobotGymnast in forum A Brief History of
    Replies: 6
    Last Post: 04-17-2008, 09:23 AM
  2. crc32
    By brietje698 in forum C++ Programming
    Replies: 24
    Last Post: 07-31-2007, 07:19 AM
  3. Critique / Help me make this program run faster.
    By Mastadex in forum C++ Programming
    Replies: 10
    Last Post: 06-26-2004, 11:58 AM