View Single Post
  #6 (permalink)  
Old 10-05-2006, 12:33 PM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 4,092
Last Blog:
Why Learn Data Structu...
Credits: 28
Rep Power: 45
WingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to behold
Default

Namespaces are a way to collect code from multiple files under an umbrella. For example, the standard library is in namespace std::. The advantage is that you are unlikely to accidentally use both the same namespace AND same variable/class name. But without namespaces you could easily use a somewhat obscure variable name and have a definition collision.

Namespaces are NOT part of linux, they are part of C++.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Programming is a branch of mathematics.
Reply With Quote