Searching a word in a file | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Searching a word in a file

How can i search a particular word in my file?

4th Dec 2021, 8:20 AM
Brat__
Brat__ - avatar
3 Antworten
+ 4
Traverse through each word and compare the word with the word you want to find, isn't it a simple thing to think of by yourself?
4th Dec 2021, 8:28 AM
Rishi
Rishi - avatar
+ 4
Refer the Sololearn C++ course about file operations https://www.sololearn.com/learning/1920/ Or I have another online resource about file operations in C++ https://www.learncpp.com/cpp-tutorial/basic-file-io/
4th Dec 2021, 8:36 AM
Rishi
Rishi - avatar
+ 1
Rishi aise kaun daant'ta hai bro, this topic related file was taught us yesterday and we r just a beginner btw ty 🙄
4th Dec 2021, 8:32 AM
Brat__
Brat__ - avatar