From d75dadd08a0a9132d6f15ff3b55d78a577b653c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gunnar=20Gu=C3=B0var=C3=B0arson?= Date: Fri, 24 Jan 2014 01:23:07 +0000 Subject: [PATCH] Removed namespace, added namespace on the function calls Using namespaces is considered bad practice. http://stackoverflow.com/a/1453605/1177391 --- c/c++.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/c/c++.cpp b/c/c++.cpp index 3b931f69..8b27019d 100644 --- a/c/c++.cpp +++ b/c/c++.cpp @@ -1,8 +1,6 @@ -#include - -using namespace std; +#include int main() { - cout << "Hello World" << endl; + std::cout << "Hello World" << std::endl; }