diff options
Diffstat (limited to 'wk2/lect2/greet.c')
-rw-r--r-- | wk2/lect2/greet.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/wk2/lect2/greet.c b/wk2/lect2/greet.c deleted file mode 100644 index ccecd7d..0000000 --- a/wk2/lect2/greet.c +++ /dev/null @@ -1,10 +0,0 @@ -#include <stdio.h> -#include <cs50.h> - -//argc is argument count, ie how many arguments were given -//argv is an array of the arguments given -//argv[0] is the command that calls the script, ie ./greet -int main(int argc, string argv[]) -{ - printf("hello, %s\n", argv[1]); -} |