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.
On my Windows XP PC system, I use the free Bloodshed C++ compiler which is an IDE based on the GNU Cygwin toolset which I also use for command line compiling and debugging. I also use the Microsoft C++ compiler . For details on the C++ language, see Bjarne Stroustrup's Page and C++ FAQ Lite and the Standard Template Library.
Source code is distributed under the terms of the GNU General Public License The current version is 2.1
| Click on the symbol
|
|
|
|
This is the CRC code class. |
|
|
Member functions of the CRC code class. |
|
|
This is the class defining a binary linear feedback shift register. |
|
|
Member functions of the shift register class. |
|
|
Main unit test program. |
|
|
Makefile for Cygwin. |
On PC's with Bloodshed C++ or Microsoft Visual C++, create a new console application and add all source files to your project, then build them.
On a Unix system, or with Cygwin, download and modify the makefile. Compile the program which runs in a command window. --- my thanks to Thomas Huber for this information.
Copyright © 1986-2008 by Sean Erik O'Connor. All Rights Reserved. last updated 01 Jan 08.