aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2024-05-27 08:46:36 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2024-05-27 08:46:36 -0300
commit5034ae15704b650be100b824e83b1361a573940b (patch)
tree2c66661d6329124d657d15b501ce5bca97eaef2c
parentfa834788dccf8d782c7e9d21bdbcffdc066dbfa3 (diff)
First example
First hello world example
-rw-r--r--chapter01/hello1.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter01/hello1.c b/chapter01/hello1.c
new file mode 100644
index 0000000..cf2c2fc
--- /dev/null
+++ b/chapter01/hello1.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int main()
+{
+ printf( "Hello, world!\n");
+ return 0;
+
+}