+ 3

What is command line argument... and why use

12th Sep 2018, 10:55 AM
Rameshwar Shivshette
Rameshwar Shivshette - avatar
6 Answers
+ 2
A command line argument is a way for a user to pass arguments to your program. For example if you want the user to be able to load a file, the user could run the program from the command line like: ./your_program file_to_load
12th Sep 2018, 10:58 AM
Jens-Emil Sønderup Mßller
Jens-Emil Sønderup Mßller - avatar
+ 2
yes.. but why we use.. command line...
12th Sep 2018, 10:58 AM
Rameshwar Shivshette
Rameshwar Shivshette - avatar
+ 2
It's easier than building a GUI
12th Sep 2018, 11:00 AM
Jens-Emil Sønderup Mßller
Jens-Emil Sønderup Mßller - avatar
+ 2
thanks......
12th Sep 2018, 11:05 AM
Rameshwar Shivshette
Rameshwar Shivshette - avatar
+ 2
command line was the solution through which the administrator can communicate with the software existing in the computer
13th Sep 2018, 6:17 AM
Yesh Jadav
Yesh Jadav - avatar
+ 1
Some applications have to be able to be controlled from a console. There are cases in which you don't have access to a GUI. For example when remote accessing a server via Linux terminal.
13th Sep 2018, 8:19 AM
Chris
Chris - avatar