diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-08-30 20:43:20 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-08-30 23:09:54 +0300 |
commit | 5769aaa5ccfca2cfa25bf898c2dd113b1504c1d6 (patch) | |
tree | e49ee79c62db12a20d618a2a75a5d8aee830b207 /hello.cxx | |
parent | 398bea3c765b031540bd17841c71825dcb7b62c7 (diff) |
Build infrastructure update
Diffstat (limited to 'hello.cxx')
-rw-r--r-- | hello.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hello.cxx b/hello.cxx new file mode 100644 index 0000000..fad8a40 --- /dev/null +++ b/hello.cxx @@ -0,0 +1,14 @@ +#include <iostream> + +using namespace std; + +int main (int argc, char* argv[]) +{ + if (argc != 2) + { + cerr << "usage: " << argv[0] << " <name>" << endl; + return 1; + } + + cout << "Hello, " << argv[1] << "!" << endl; +} |