diff options
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; + } +} |