Hey guys,
I'm writing a program to read a file and display the number of lines and words in said file, simple stuff. What I want is to be able to run the program from terminal (running Ubuntu) by simply typing:
count
But I'm not sure how to get the filename into a variable in the C program. Little help please?
Thanks in advance.