#include #include int main(int argc, char **argv) /* char *argv[] would mean the same thing */ { if (argc != 2) { fprintf(stderr, "%s: requires 1 command line argument\n", argv[0]); return EXIT_FAILURE; } printf("I received the argument %s.\n", argv[1]); return EXIT_SUCCESS; }