Sample code for 30+ languages & platforms
Unicode C++

Example: Crypt2.CrcFile method

Demonstrates how to call the CrcFile method.

Chilkat Unicode C++ Downloads

Unicode C++
#include <CkCrypt2W.h>

void ChilkatSample(void)
    {
    CkCrypt2W crypt;

    const wchar_t *filePath = L"c:/temp/someFile.dat";

    unsigned long crc32 = crypt.CrcFile(L"crc-32",filePath);
    wprintf(L"%u\n",crc32);

    unsigned long crc8 = crypt.CrcFile(L"crc8",filePath);
    wprintf(L"%u\n",crc8);
    }