PDA

View Full Version : What is namespace std in c++ 2011?



saneha
05-02-2011, 05:34 PM
What is namespace std.

Vuhelper
05-02-2011, 05:34 PM
Namespace defines a new scope for the variables while it keeps the concept and the purpose of the variable clear. Now, you could have a variable named cout in another namespace other than std without any confliction with the cout variable in the std namespace.