c  « text file « Java I/O Q&A

1. How can I index a lot of txt files? (Java/C/C++)    stackoverflow.com

I need to index a lot of text. The search results must give me the name of the files containing the query and all of the positions where the query matched ...

2. Searching text with 'Match case' and 'Match whole word' in file in C++ or Java    stackoverflow.com

I need a solution in C++ or Java. Are there standard functions?