Project uses hash implementation to Karp-Rabin algorithm. Program reads file.txt and in gets pattern from first line than searches it inside every line and writes out index of char (starting from 0) in wchioch pattern occure.
Just import project to CodeBlocks and compile/run. If you wish you could use another environment by using only main.cpp file.
Program dont witre to file.txt so can be used without intervention in file. The result is only seen in terminal