mirror of
https://github.com/eddyem/lectures.git
synced 2025-12-06 10:45:09 +03:00
11 lines
198 B
C
Executable File
11 lines
198 B
C
Executable File
//usr/bin/gcc $0 && exec ./a.out "$@"
|
|
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char **argv){
|
|
for(int x = 1; x < argc; ++x)
|
|
printf("arg %d is %s\n", x, argv[x]);
|
|
printf("Done\n");
|
|
return 0;
|
|
}
|