From 8d59e14e88164ddcb465ff3138584158ad793a57 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 19 May 2018 17:49:09 +0200 Subject: Minor update --- hello/hello/hello.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello/hello/hello.cxx b/hello/hello/hello.cxx index 0c63c7b..2dd47e5 100644 --- a/hello/hello/hello.cxx +++ b/hello/hello/hello.cxx @@ -2,10 +2,10 @@ #include -using namespace std; - int main (int argc, char* argv[]) { + using namespace std; + if (argc < 2) { cerr << "error: missing name" << endl; -- cgit v1.1