|
-
April 21st, 2010, 09:14 AM
#1
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)?
-
April 21st, 2010, 09:19 AM
#2
Re: crc32/checksum app
There is info on the CRC algorithm here. Its a really simple algorithm but if you dont fancy wrapping it yourself theres always Boosts CRC library. Standard C++ and Boost filesystem should take care of the rest.
Get Microsoft Visual C++ Express here or CodeBlocks here.
Get STLFilt here to radically improve error messages when using the STL.
Get these two can't live without C++ libraries, BOOST here and Loki here.
Check your code with the Comeau Compiler and FlexeLint for standards compliance and some subtle errors.
Always use [code] code tags [/code] to make code legible and preserve indentation.
Do not ask for help writing destructive software such as viruses, gamehacks, keyloggers and the suchlike.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|