diff options
Diffstat (limited to 'hello/hello/hello.cxx')
-rw-r--r-- | hello/hello/hello.cxx | 16 |
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]); +} |