Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Read the file (fread, etc.), get the line.
Split the string into separate words using the split method, then iterate through the resulting array and look for matches, then count these matches, that's all
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question