|
last ten words of a file? I would read all the words and create a list with the following structor
struct member
{
char word[80];
int place;
struct word *next;
}
then count them and print the last ten.If you want more info on how to use this pm. You can even use this to put them in alphabetical order.
Last edited by Daniel_kd; Apr 3rd, 2005 at 6:51 PM.
|