|
-
Jul 18th, 2007, 02:29 AM
#1
Thread Starter
Addicted Member
what is the necessity of "namespace" in c++
Hi all!
I would like know the purpose of "namespace"... many of programs are having .. "using namespace std" as their first line in main()...........
Now my question is why this namespace should be used? what is the real use? without writing this namespace statement also i am able to run the programs.
i have studied as "Namespaces allow to group entities like classes, objects and functions under a name" but i could not understand the usage, suppose if i did not allow to group the entities what should be happened? please let me have a clarification.
Thanks in advance:
regards:
raghunadhs
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|