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 / achal ubbott

Template feature came to c++ quite later from its birth. It
basically helps some big coders.
Now if u buy 2 libraries from market and both of these
define a class Ethernet; Then if u use both of them in your
code the copiler will give some redeclaration of class
errors. So this Namespace feature helps the coder to
differentiate among the two.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a class? Explain with an example.

1133


Do the names of parameters have to agree in the prototype, definition, and call to the function?

1021


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

1107


What is #include iostream?

1236


What does it mean to declare a member variable as static?

1044


Is sorted c++?

1085


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

969


Write my own zero-argument manipulator that should work same as hex?

1045


How to allocate memory dynamically for a reference?

1035


What is the best c++ book for beginners?

1138


Is java based off c++?

965


What is a class definition?

1058


What is a local reference?

1175


What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random

1123


How a macro differs from a template?

1154