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?
- 8Write a computer program in an unspecified language.Jay– Jay2011-01-01 18:55:27 +00:00Commented 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 classmarry– marry2011-01-01 18:56:52 +00:00Commented Jan 1, 2011 at 18:56
- You really have to be more specific. Which programming language are you using?João Silva– João Silva2011-01-01 18:59:25 +00:00Commented 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);marry– marry2011-01-01 19:01:14 +00:00Commented Jan 1, 2011 at 19:01
- this is my treePrint method..marry– marry2011-01-01 19:02:59 +00:00Commented Jan 1, 2011 at 19:02
| Show 1 more comment