Hey guys, I am using code like the following ro help me identify words in a text file however if in a line there are the words "Hi my name is Kim" and I want to pick both words Hi and my from the same line how could I do this? Thanks.
Code:while (file >> array) { if(strstr(array,"test") != 0) }



LinkBack URL
About LinkBacks


