What is Namespace std?
Printable View
What is Namespace std?
Have you got my PM?
I got it, you said to post if i didn't know
I am not exactly sure what a namespace std is either. I just add the lines "using namespace std;" after the includes without thinking. Could you PM me too? Thanx.
No, I said you should do a search.
You won't get an answer from me here.
I can't believe you cracked so quickly :eek:
HD
I can't either. But I was terribly tired and my resistance against ignorance is low...
using namespace std causes your compiler to use objects in the "std" namespace without std:: in front of them.
e.g.
instead ofCode:#include <iostream>
using namespace std;
cout << "AAA";
Code:#include <iostream>
std::cout << "AAA";