Skip to content

Commit

Permalink
add explanation about how to use this file
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-game-project committed Feb 29, 2024
1 parent 34990a3 commit 65a3750
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ def skipmap(self,text:str) -> list[int]:
pass

if __name__ == "__main__":
"""
before running this file you need to compile c file and create dynamic linked library.
Please run following command.
```bash
make lib
```
"""
ft = C_ft("./pkg/ft_kmp_strstr.so")

text="abababbabcabbaaaaaa"
Expand Down

0 comments on commit 65a3750

Please sign in to comment.