Hello,
Need a hint on how to search for a piece of text (string) when reading from a txt file (line by line).
Hello,
Need a hint on how to search for a piece of text (string) when reading from a txt file (line by line).
strstr()
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Code:std::string text = "Some text"; if(text.find("...") != string::npos) { //We found something }
st5, use specific subject lines.
http://www.catb.org/~esr/faqs/smart-questions.html
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials