It's about a program that reads a file from a command prompt and displays the number of numbers, spaces, newlines, and other characters in the file.

I know how to distinguish numbers, spaces, line breaks, and other characters, but I don't know what makes the file read from the command prompt.
please tell me.

  • Answer # 1

    Isn't there a desire to compose such code in C language?
    If so, I think that if you go around with "C language command line argument", you can be happy.