diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-19 18:25:43 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-19 18:25:43 +0300 |
commit | 8bb21cfef3955e42bab30ca2dd074f29be5c2c36 (patch) | |
tree | 988419a3bb68c6233792e820725c09daf5b66d3c /hello/hello.cxx | |
parent | 8f70a0a00cec8a5c72fb5bcc9a7b2b37af29736e (diff) |
Move project into intermediate sub-directory
Diffstat (limited to 'hello/hello.cxx')
-rw-r--r-- | hello/hello.cxx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/hello/hello.cxx b/hello/hello.cxx new file mode 100644 index 0000000..728af76 --- /dev/null +++ b/hello/hello.cxx @@ -0,0 +1,22 @@ +// file: hello.cxx -*- C++ -*- + +#include <iostream> + +#include <libhello/hello.hxx> + +using namespace std; + +int +main (int argc, char* argv[]) +{ + if (argc < 2) + { + cerr << "usage: hello <name>..." << endl; + return 1; + } + + using hello::say; + + for (int i (1); i != argc; ++i) + say (argv[i]); +} |