Sin( x y ) Image Border.

GENERATING AND CHECKING CRC CODES

Sean E. O'Connor


Overview

C++ software for a program which generates and checks CRC (Cyclic Redundancy Check) codes.

Features:

Drawbacks:

References: See my mathematical tutorial on CRC definition and properties. I also have an example generated by Mathematica showing CRC encoding and decoding. Ross Williams has description of various CRC implemenations.

Download Source Code

Source code is distributed under the terms of the GNU General Public License The current version is 2.1

Click on the symbol Compact disk icon for source code download. to view and download the source files below.
Compact disk icon for source code download. Download crcCode.h This is the CRC code class.
Compact disk icon for source code download. Download crcCode.cpp Member functions of the CRC code class.
Compact disk icon for source code download. Download shiftRegister.h This is the class defining a binary linear feedback shift register.
Compact disk icon for source code download. Download shiftRegister.cpp Member functions of the shift register class.
Compact disk icon for source code download. Download testCRC.cpp Main unit test program.
Compact disk icon for source code download. Download makefile Makefile for Cygwin.

Install and Run

On Mac OS X, I use the Xcode IDE; on a Windows platforms, I use the GNU Cygwin toolset for command line compiling and debugging; and on Unix systems, including Mac OS X, I use the built-in gcc compiler and gdb debugger. For online C++ language tutorials, books and references, see links to C++ documentation.


Copyright © 1986-2008 by Sean Erik O'Connor. All Rights Reserved.     last updated 14 Jul 08.