In C#, this is legal
namespace MyNamespace.MyApp
{
}
But when I did that in VC++, it didn't compile.
I had to change it to
namespace MyNamespace
{
namespace MyApp
{
}
}
If the level is more than two, it gets really nasty. Why can't I do it
the way I do in C#?
David Wilkinson - 19 Aug 2007 17:05 GMT
> In C#, this is legal
> namespace MyNamespace.MyApp
[quoted text clipped - 12 lines]
> If the level is more than two, it gets really nasty. Why can't I do it
> the way I do in C#?
Cat:
Wrong syntax.
namespace MyNamespace::MyApp
{
}

Signature
David Wilkinson
Visual C++ MVP
Cat - 20 Aug 2007 04:38 GMT
> > In C#, this is legal
> > namespace MyNamespace.MyApp
[quoted text clipped - 25 lines]
> David Wilkinson
> Visual C++ MVP
Thank you.