Publisher review:Srchfile.C - Search files for text, forwards or backwards Although this snippet demonstrates some useful techniques, even the fast text searching algorithm used can't provide particularly good performance.
Left as an exercise for the user is to perform explicit buffering using fread() rather than fgets() as is used here. See CHBYTES.C in SNIPPETS for how to perform searches in user-mSee CHBYTES.C in S;/p>
Srchfile.C is a C/C++ script for Snippets scripts design by Bob Stout.
It runs on following operating system: Windows / Linux.
Operating system:Windows / Linux