From 8bb21cfef3955e42bab30ca2dd074f29be5c2c36 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 19 Jun 2017 18:25:43 +0300 Subject: Move project into intermediate sub-directory --- hello/hello.cxx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 hello/hello.cxx (limited to 'hello/hello.cxx') 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 + +#include + +using namespace std; + +int +main (int argc, char* argv[]) +{ + if (argc < 2) + { + cerr << "usage: hello ..." << endl; + return 1; + } + + using hello::say; + + for (int i (1); i != argc; ++i) + say (argv[i]); +} -- cgit v1.1