From e541a7f334971f913b1033d9e8f4f75f1de02703 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 4 May 2018 14:42:58 +0200 Subject: Regenerate hello using bdep-new --- hello/hello/hello.cxx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 hello/hello/hello.cxx (limited to 'hello/hello/hello.cxx') 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 + +#include + +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]); +} -- cgit v1.1