aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial/chapter-5/app/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/chapter-5/app/main.c')
-rw-r--r--tutorial/chapter-5/app/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tutorial/chapter-5/app/main.c b/tutorial/chapter-5/app/main.c
new file mode 100644
index 000000000..a560d1ba1
--- /dev/null
+++ b/tutorial/chapter-5/app/main.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+#include "lib.h"
+
+int main()
+{
+ printf("Hello, world\n");
+ printf("%s\n", get_string());
+ return 0;
+}