summaryrefslogtreecommitdiff
path: root/wk2/lect2/greet.c
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-05 05:11:37 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-05 05:11:37 +0000
commit279c7fe630927a292a2b99d1a820c6483193cdb1 (patch)
tree89449c024d1520b0c2b3066c5bb76bc1abc66987 /wk2/lect2/greet.c
parent8f52e004a9914d769131a345b8377b40a426243e (diff)
Mon, Dec 4, 2023, 9:11 PM -08:00
Diffstat (limited to 'wk2/lect2/greet.c')
-rw-r--r--wk2/lect2/greet.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/wk2/lect2/greet.c b/wk2/lect2/greet.c
new file mode 100644
index 0000000..3f01f2a
--- /dev/null
+++ b/wk2/lect2/greet.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+#include <cs50.h>
+
+int main(int argc, string argv[])
+{
+ printf("hello, %s\n", argv[1]);
+}