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: Part 1, Part 2, Part 2.

Ross Williams has description of various CRC implementations.

Download Source Code

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

crcCode.h Header file for CRC. Eye icon for source code viewing. View     Compact disk icon for source code download. Download
crcCode.cpp CRC code. Eye icon for source code viewing. View     Compact disk icon for source code download. Download
shiftRegister.h Header file for shift register. Eye icon for source code viewing. View     Compact disk icon for source code download. Download
View shiftRegister.cpp Implementation for shift register. Eye icon for source code viewing. View     Compact disk icon for source code download. Download
View dataTypes.h Data types for the 32-bit parity bits and syndrome bits. Eye icon for source code viewing. View     Compact disk icon for source code download. Download
View testCRC.cpp Main unit test program. Eye icon for source code viewing. View     Compact disk icon for source code download. Download
makefile Makefile for Cygwin. Eye icon for source code viewing. View     Compact disk icon for source code download. Download

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-2017 by Sean Erik O'Connor. All Rights Reserved.     last updated 01 Jan 17.