summaryrefslogtreecommitdiff
path: root/04_compile/hello.c
diff options
context:
space:
mode:
authorHaidong Ji2022-04-15 15:51:30 -0500
committerHaidong Ji2022-04-15 15:51:30 -0500
commit442a49ad5a48d417345959b903ae6a6d32d55759 (patch)
treec7127bb497e5e439018b1915e0136eec2c9cb124 /04_compile/hello.c
Great C programming funHEADmaster
Excellent fundamentals and displine training, many tools and techniques exercises: gdb, emacs, valgrind, git
Diffstat (limited to '04_compile/hello.c')
-rw-r--r--04_compile/hello.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/04_compile/hello.c b/04_compile/hello.c
new file mode 100644
index 0000000..30c032e
--- /dev/null
+++ b/04_compile/hello.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+int main() {
+ printf("Hello World\n");
+ return EXIT_SUCCESS;
+}