Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the use of Namespace in c++.

Answer Posted / snigdhadeb ash.

Namespace is a new concept introduced by the ANSI C++
standards committee. This defines a scops for the
identifiers that are used in a program. For using the
identifiers defined in the namespace scope we must include
the using directive,like
using namespace std;
Here , std is the namespace where ANSI C++ standard class
libraries are defined. All ANSI C++ programs must include
this directive. This will bring all the identifiers defined
in std to the current global scope. using and namespace are
the new keywords of C++.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between structure and class in c++.

1022


Explain the concept of friend function in c++?

1053


Name the debugging methods that are used to solve problems?

1039


Which programming language should I learn first?

1045


Describe the process of creation and destruction of a derived class object?

1074


What do you mean by funtion prototype?

1003


Can we specify variable field width in a scanf() format string? If possible how?

1155


Can I learn c++ without knowing c?

1004


What is private, public and protected inheritance?

1035


What is encapsulation in c++ with example?

956


Can non graphic characters be used and processed in C++?

1135


How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

1039


Define what is constructor?

1005


what is Member Functions in Classes?

1117


Explain binary search.

945