cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Searching for a string
Searching for a string
Jul 13, 2015 at 6:53pm UTC
kmimken
(1)
If I want to read in a file and search each line for a certain string and then output every line that contains that string to a new file what is the best way to go about that?
Jul 13, 2015 at 7:19pm UTC
MiiNiPaa
(8886)
Open input file
Open output file
Read line from input file
Compare to certain string
If match is found, write to output file
back to 3
Topic archived. No new replies allowed.