| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A fast multithreaded file search tool written in C++ that searches for a word across multiple files simultaneously using threads.
cpp-multithreaded-file-search │ ├── main.cpp ├── search.cpp ├── search.h ├── file1.txt ├── file2.txt ├── file3.txt
Compile the project using:
g++ main.cpp search.cpp -o search -pthread
./search
Then enter the word you want to search.
Example:
Enter word to search: hello
Output example:
file1.txt : Line 1 -> hello world file2.txt : Line 2 -> hello from github file3.txt : Line 3 -> hello again
Example output:
Pull requests are welcome. Feel free to improve the project.
| Back | FazBrowse Home | New Git URL |