I have a project that I'm working on in C++ where I have to Search for Multiple Occurrences of a String in a Text File.

Does anyone have code out there on how to do this?

Thanks

Recommended Answers

All 2 Replies

>Does anyone have code out there on how to do this?
Correct me if I'm wrong, but isn't the point of the project for you to write the code? Assuming this is homework, you don't really learn anything by stealing another programmer's code and palming it off as your own.

>Does anyone have code out there on how to do this?
Assuming this is homework, you don't really learn anything by stealing another programmer's code and palming it off as your own.

Sure you do. You learn the intricate art of stealing programs and
plagiarizing it, while feeling completely not guilty handing in the
work to the teacher, which leads to more plagiarism ( a drug ) because
he hasn't learned crap and now when the final comes, he will shi*t his
pants because the final will look like a foreign language.

Other than that I don't think he will gain anything important.


Good Luck!

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.