The C programming language has been alive and kicking since 1972, and it still reigns as one of the essential building blocks of our software-studded world. But what about the dozens of newer ...
To ensure data integrity, it's wise to frequently calculate file checksums. The C program in Listing 1 calculates the checksum of a file using a 16-bit CRC (cyclic redundancy check). The program ...