View Single Post
Old Dec 27th, 2006, 4:27 PM   #4
rsnd
Hobbyist Programmer
 
rsnd's Avatar
 
Join Date: Jun 2005
Location: Helltown
Posts: 162
Rep Power: 4 rsnd is on a distinguished road
I think namespaces are there to resolve naming conflicts for linker in different parts of the program. For example, if you had a function with declaration "int foo() {}" in one file of your program, you shouldnot be able to have the same thing somewhere else unless its in different namespace. This is vary useful in program organization in large programs. Should be nothing more and nothing less.
__________________
Spread your wings and fly! Chicken!
rsnd is offline   Reply With Quote