This program displays the number of arguments from the command line and lists each one on the console. I wrote a program written in C using some functions such as argc and argv which are argument count and argument vector respectively. I used them to count the number of arguments and to store each argument in a separate vector or array. Then I added print statements running on a for loop with counter as number of arguments. This prints each argument on command line and the first argument is the file name itself.
-
Notifications
You must be signed in to change notification settings - Fork 0
A Command Line argument counter
License
developer-soni/ArgumentsCount
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A Command Line argument counter
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published