1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Help

Discussion in 'C' started by gkanu7, Aug 22, 2007.

  1. gkanu7

    gkanu7 New 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..???
     
  2. DaWei

    DaWei New Member

    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.
     
  3. shabbir

    shabbir Administrator Staff Member

    The question you should ask to yourself is what you have done to solve the problem.
     

Share This Page