Implementation of T9 contacts search algorithm for IZP course
gcc and make are the only requirements. Linux is preferred, but this should also build and run on macOS
- Clone this repo
cd t9searchmake
-
./t9search < telbook.txt- will output every contact intelbook.txtin formatted form -
./t9search 264 < telbook.txt- will perform search overtelbook.txtwith the given queryOutput:
Bohuslav Krena, 420541141233 Bohuzel Nedambody, 420541141233 -
./t9search 111 < telbook.txt- will not find anythingOutput:
Not found
Tested on both merlin and eva servers. Should also be compilable on macOS using it's built-in clang. Most work done in CLion connected to WSL Ubuntu 20.04