Removed namespace, added namespace on the function calls

Using namespaces is considered bad practice.

http://stackoverflow.com/a/1453605/1177391
This commit is contained in:
Gunnar Guðvarðarson
2014-01-24 01:23:07 +00:00
parent 83f7582f41
commit d75dadd08a

View File

@@ -1,8 +1,6 @@
#include<iostream> #include <iostream>
using namespace std;
int main() int main()
{ {
cout << "Hello World" << endl; std::cout << "Hello World" << std::endl;
} }