0

I wrote a program which should read a text from a file and after that it should write word frequencies in a different file.how can I do it?

6
  • 8
    Write a computer program in an unspecified language. Commented Jan 1, 2011 at 18:55
  • i wrote program i have a method which name is treePrint but i don't know how I can use files in my main class Commented Jan 1, 2011 at 18:56
  • You really have to be more specific. Which programming language are you using? Commented Jan 1, 2011 at 18:59
  • void treePrint(node *p) { if(p!=NULL) treePrint(p->left); printf("%4d %s\n",p->count,p->word); treePrint(p->right); Commented Jan 1, 2011 at 19:01
  • this is my treePrint method.. Commented Jan 1, 2011 at 19:02

1 Answer 1

1

It shouldn't be too difficult. Just use whatever programming language you like best.

Sign up to request clarification or add additional context in comments.

Comments