#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    1
    Rep Power
    0

    How to write a program to computes its CRC


    Write a program (in C/C++) for the sender/receiver that takes a bit
    stream and computes its CRC:
    (1) The input to the program should be a string (which you read from standard input) containing ASCII 0ís and 1ís that represents the message.
    (2) An 8-bit CRC, g(x) = x^8+x^5+x+1, is applied in the task.
    (3) Try the different errors (i.e., e(x)) to test your CRC program.

    help me please~~~ :(
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,890
    Rep Power
    481
    You've read your text, you're still confused.
    The class notes went only so far.
    Conversation with the professor
    during office hours failed you.

    Does this article help?
    http://en.wikipedia.org/wiki/Computation_of_cyclic_redundancy_checks
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo