diff options
Diffstat (limited to '.boilerplates/c/src/main.c')
-rw-r--r-- | .boilerplates/c/src/main.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/.boilerplates/c/src/main.c b/.boilerplates/c/src/main.c deleted file mode 100644 index 10ea279..0000000 --- a/.boilerplates/c/src/main.c +++ /dev/null @@ -1,18 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> - -void print_help() -{ - printf("Help\n"); - exit(1); -} - -int main(int argc, char *argv[]) -{ - if (argc == 2 && (strcmp(argv[1], "--help") == 0)) - print_help(); - - printf("Hello, world!\n"); - return 0; -} |