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