0
Clear my doubt please
I am not clear with the line using namespace std
5 Antworten
+ 6
When you use "using namespace (INSERT NAMESPACE HERE);" all symbols(functions and stuff) in that namespace will become visible/available without adding the namespace prefix.
For example, if you were to use cout w/o delcaring "using namespace std", you would need to use "std::cout" instead of "cout".
+ 3
Basically its to make life easier w/o having to use "std:: ..." all the time when you are calling something from the std library. if you want more detailed information, google it.
0
thanku... but sir still I am having doubt
0
thanks..
0
Do you have more doubts ? Lile others said , it is to makr coder's life easy