diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-29 17:47:34 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-29 17:47:34 +0300 |
commit | 16f26d75a938df61cde56a2d0231f3788a67d039 (patch) | |
tree | 57fa2084f2f96ed6251dfe6e6c882dc12ef25b12 /libhello/hello.cxx | |
parent | 830989c9c81b501256f5dd47bf13c989dc2dffde (diff) |
Add hxx extension for headers and lib prefix for library dirs
Diffstat (limited to 'libhello/hello.cxx')
-rw-r--r-- | libhello/hello.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libhello/hello.cxx b/libhello/hello.cxx new file mode 100644 index 0000000..677815d --- /dev/null +++ b/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; + } +} |