I think you refer to this part of the example code:
if (argc <= 1)
return ShowUsage();
for (int i=1; i<argc;>
If you would know the meaning of the C main function arguments, you would not ask this question.
argc
is the number of arguments passed on the command line and provided in
argv
where the first argument
argv[0]
is the name of the program if known or an empty string. So
argc
will be always at least 1.
If you want
argc
to be greater than 1 do what
ShowUsage
prints out:
Pass one or more additional command line arguments (PID numbers for the example program).