Adding linux commands to C programs
Hi Guys,
I'm currently working on a program which sorts a file and returns all the words in a file together with their frequencies, I'm thinking of using linux commands like "wc" "sort" and others which I know can do the Job I'm thinking of a way of integrating these commands directly into the c program including 'probably' the necessary header files and libraries, without actually calling the commands with argv. Could some one please help me out here?
Thanks,
Nyah