aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_posts/snippets/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to '_posts/snippets/world.cpp')
-rw-r--r--_posts/snippets/world.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/_posts/snippets/world.cpp b/_posts/snippets/world.cpp
new file mode 100644
index 0000000..54d3807
--- /dev/null
+++ b/_posts/snippets/world.cpp
@@ -0,0 +1,7 @@
+#include "world.hpp"
+
+#include <iostream>
+
+void hello_world() {
+ std::cout << "Hello world!\n";
+}