summaryrefslogtreecommitdiff
path: root/libhello/libhello/hello.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-19 18:39:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-19 18:39:08 +0300
commit58e44f2cdad782fd9c5cf177c2bb1ca8a86c0e15 (patch)
tree619306b9f37e404b04a391e71b31b4bab9ca5d61 /libhello/libhello/hello.cxx
parentb6eb2a7b37def077581f1eb968b5991e755eeda9 (diff)
Move project into intermediate sub-directory
Diffstat (limited to 'libhello/libhello/hello.cxx')
-rw-r--r--libhello/libhello/hello.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/libhello/libhello/hello.cxx b/libhello/libhello/hello.cxx
new file mode 100644
index 0000000..677815d
--- /dev/null
+++ b/libhello/libhello/hello.cxx
@@ -0,0 +1,16 @@
+// file: libhello/hello.cxx -*- C++ -*-
+
+#include <libhello/hello.hxx>
+
+#include <iostream>
+
+using namespace std;
+
+namespace hello
+{
+ void
+ say (const string& n)
+ {
+ cout << "Hello, " << n << '!' << endl;
+ }
+}