Help

gkanu7's Avatar, Join Date: Aug 2007
Newbie Member
hi.. am i noob in programing. well had this program with me.. which i have no idea how i should do.. the question is like this.. Count the frequency of the keywords that occur in a file inputed by the user.(the file is a C file).
any help..???
0
DaWei's Avatar, Join Date: Dec 2006
Team Leader
Analyze your problem, devise a solution, and write some code. Present the troublesome code here for help.

Generally speaking, you'll want to read the file a line at a time, tokenize the line, compare each token to the list of keywords, and count those which match. Learning to do this is YOUR task, but we will help you.

Read this thoroughly before you post your code and questions.

Incidentally, the subject line for your thread should be searchable so that those with similar problems can find the answer. "HELP" is either thoughtless or stupid.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
The question you should ask to yourself is what you have done to solve the problem.