summaryrefslogtreecommitdiff
path: root/hello/hello/hello.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hello/hello/hello.cxx')
-rw-r--r--hello/hello/hello.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/hello/hello/hello.cxx b/hello/hello/hello.cxx
new file mode 100644
index 0000000..0c63c7b
--- /dev/null
+++ b/hello/hello/hello.cxx
@@ -0,0 +1,16 @@
+#include <iostream>
+
+#include <libhello/hello.hxx>
+
+using namespace std;
+
+int main (int argc, char* argv[])
+{
+ if (argc < 2)
+ {
+ cerr << "error: missing name" << endl;
+ return 1;
+ }
+
+ hello::say_hello (cout, argv[1]);
+}