Advertisement

Finding a string from file

Started by July 27, 2000 06:42 AM
0 comments, last by zalian 24 years, 5 months ago
How can I find specified string from a file?
Coding is everything you need.
Hi,

What kind of file is it. How ist it internally organized.
Is it binary or ASCII text, is it separated by linefeeds ?
Would you prefer C or C++.

For structured reading you could use fread / fwrite,
for newline separated info you could use fgets.

There are so many ways to do that, please give us some more
details.

cu

Peter
HPH

This topic is closed to new replies.

Advertisement