Hey programmers!
I am searching for a code and unable to get it.
I know this is the best place to ask.
Please help me with this file handling code.

"How to count the occurrences of a specific string in a text file using c"....
Please help as soon as possible...
thank you

we are not going to just hand you the code, but will be glad to help you with your program. What exactly don't you understand? Have you read your textbook about file handling? Have you used google to search for "fstream tutorials"? I suspect not.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.