aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chapter01/hello2.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/chapter01/hello2.c b/chapter01/hello2.c
new file mode 100644
index 0000000..d80b9ae
--- /dev/null
+++ b/chapter01/hello2.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+
+/*
+ * hello2.c
+ * My first C program with comments.
+ * by Lucas Castro
+ * created yyyy/mm/dd
+ */
+
+int main()
+{
+ printf( "Hello, world!\n");
+ return 0;
+
+}