whether or not they're in the same namespace block, if they're in the namespace, you can treat it as though they're in the same scope. Provided you include the header file, that is.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
I want all of my classes to be within 1 namespace but they are split into header files.
Definitely don't do that, that would make all of the included files in your headers a part of your namespace as well. Ginto's suggestion is the right way to do it.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!