Thread: Need help programming CRC in C

  1. #1
    Registered User
    Join Date
    Feb 2004

    Need help programming CRC in C

    Hello, do you know where I can find the source code in C that
    calculates a 16-bit CCITT SDLC CRC? It uses the polynomial
    X**16 + X**12+X**5+1.


  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Ontario, Canada
    Don't cross post, or the mods will smite you.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    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.*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CRC Check
    By silentkarma in forum C++ Programming
    Replies: 8
    Last Post: 03-01-2008, 04:20 AM
  2. question in CRC arithmetic
    By mycount in forum C Programming
    Replies: 4
    Last Post: 08-22-2006, 06:30 PM
  3. CRC problem
    By NewGuy100 in forum C Programming
    Replies: 6
    Last Post: 09-11-2005, 08:57 AM
  4. Crc error
    By Oluf in forum Tech Board
    Replies: 21
    Last Post: 04-30-2004, 09:57 AM
  5. CRC / checksum
    By Zoltarc in forum C++ Programming
    Replies: 0
    Last Post: 11-30-2002, 11:05 PM