Thread: crc32/checksum app

  1. #1
    Registered User
    Join Date
    Mar 2009

    crc32/checksum app

    I'd like to write a C++ app program that would store a list of files (by relative path/location) plus it's CRC32 or checksum. Then it would also store more CRC32/checksums for the same file, for each snapshot in time.

    The main usage of the app would be to help identify which versions of the current folder contents are.

    Does anyone know such program already exist? If not, how to write in C++ with common libraries (boost, etc)?

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Well, there is Boost.CRC, but I have no experience with it so I cannot recommend it.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Dec 2006
    Scranton, Pa
    If you just need a starting point & some code example, goto; Create Window Website. I believe the individual's name is Ellingson, author of CRCText tool. Source code is available for the program, although I would assume that even altering his existing code would still require that you list Ellingson as primary author & maintain copyright comments.

  4. #4
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    United States

  5. #5
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Henderson, NV
    Also if you want something really easy to use and more importantly easy to integrate into your project, go to; they have PD source code there for all kinds of tasks, including CRC/hashing stuff.
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. non-MFC DLL with MFC app question.
    By Kempelen in forum Windows Programming
    Replies: 10
    Last Post: 08-20-2008, 07:11 AM
  2. best program to start
    By gooddevil in forum Networking/Device Communication
    Replies: 4
    Last Post: 05-28-2004, 05:56 PM
  3. Need help migrating console app to windows app
    By DelphiGuy in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2004, 07:05 PM
  4. pasword app
    By GanglyLamb in forum C Programming
    Replies: 2
    Last Post: 06-07-2003, 10:28 AM
  5. How do I make my Linux app standalone?
    By Joda in forum C++ Programming
    Replies: 2
    Last Post: 11-27-2002, 04:53 AM