From 99e050fb220d87cab55575e799aaa355a3696f6e Mon Sep 17 00:00:00 2001 From: 45w1n <57095943+45w1n@users.noreply.github.com> Date: Thu, 31 Oct 2019 23:34:39 +0530 Subject: [PATCH] Update main.cpp shows use of endl and need for using namespace std --- main.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/main.cpp b/main.cpp index f7a5c7f..ca362fe 100644 --- a/main.cpp +++ b/main.cpp @@ -1,10 +1,7 @@ #include - -using namespace std; - +using namespace std;//It is inserted to avoid using the scope operator :: multiple times int main(int argc, char *argv[]) { - cout << "Hello, World!\n"; - + cout <