The generation of arguments from the text command line is platform-specific, but the first element of the argv
array is almost always the name used to find your program.
If you want to discard this first argument, simply add to the beginning of main
:
-- numberOfArguments;
++ argumentArray;