Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   searching in .txt file (http://www.go4expert.com/forums/searching-txt-file-t16859/)

doodoodee 9Apr2009 19:48

searching in .txt file
I have a problem regarding finding a word in a text file and printing the sentence out.. here is how the text file goes..


The sky is blue. Leaves are drop from the sky. Waves is form in the sea.

how am i suppose to do to actually search for a word like "is" then my outcome will be
"The sky is blue. " and also "Waves is form in the sea."

All times are GMT +5.5. The time now is 00:34.