aboutsummaryrefslogtreecommitdiff
path: root/examples/hello_world_cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello_world_cpp/src')
-rw-r--r--examples/hello_world_cpp/src/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/hello_world_cpp/src/main.cpp b/examples/hello_world_cpp/src/main.cpp
new file mode 100644
index 0000000..28bab08
--- /dev/null
+++ b/examples/hello_world_cpp/src/main.cpp
@@ -0,0 +1,7 @@
+#include <cstdio>
+
+int main(int argc, char **argv)
+{
+ printf("hello, world!\n");
+ return 0;
+}