Hello, can someone help me with a program to implement hashing of text files in a directory to find files with the same content?
On its own, this isn't even a job for C++: it would make more sense to just write a script that used an external utility, such as md5sum.
In most Linux distros, you should have the hash utilities readily available via the coreutils package.
In Windows, you'll either need to download a standalone program, or the ported coreutils: