Afficher tous les arguments de la ligne de commande du programme

Author:


Download


#include 

int main(int argc, char *argv[])
{
  int i;

  for(i = 1; i < argc; i++)
      printf("Argument# %d: %s ",i , argv[ i ]);

  return 0;
}

Leave a Reply

Your email address will not be published. Required fields are marked *