Word frequency and sorting
Hi, greetings to everyone, i'm new here and would like to ask some question. I'm a newbie to C Programming(i just learned it the last 2 months), and got an assignment to make program where it does a word counting and sorting them in the matter of their frequency. I don't need the full source code, i just need the basic logic and the basic command to:
- read files (txt files)
- breaking the files into words (how do you make a space the delimiter?)
- and finally grouping them and soting them
well, that's the outline, any help would be appreciated. Again, i sy that i don't need the source code, just need the basic command that supports the logic, because i am not permitted to outsourcing. Thanks.