Utilisation des arguments de la ligne de commande December 19, 2012 Author: user {filelink=13899} #include #include int main(int argc, char *argv[]) { double total; if(argc!=2) { printf("Aucun argument trouvé"); } else { total = atof(argv[1]) * 3.14; printf("%f total", total); } return 0; } Categories: Uncategorized