diff options
-rw-r--r-- | hello/hello/hello.cxx | 4 |
1 files 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 <libhello/hello.hxx> -using namespace std; - int main (int argc, char* argv[]) { + using namespace std; + if (argc < 2) { cerr << "error: missing name" << endl; |