[bt-devel] namespace problems

David White bt-devel@crosswire.org
Tue, 22 Oct 2002 08:01:13 +1000


Jason,

I'm afraid I don't know of any good online tutorials about namespaces,
although I'm sure if you did a search for some, you would find them. Indeed,
I found this one which looks pretty good:
http://www-h.eng.cam.ac.uk/help/tpl/languages/C++/namespaces.html

I would also recommend the book, "The C++ Programming Language", by Bjarne
Stroustrup. It covers all C++ language features thoroughly.

-David.

----- Original Message -----
From: "Jason Gress" <jasong@ccgr.org>
To: <bt-devel@crosswire.org>
Sent: Monday, October 21, 2002 11:14 PM
Subject: Re: [bt-devel] namespace problems


> David,
>
> Not all of us consider namespaces basic (or at least if you were taught
C++
> on an old UNIX compiler at school that didn't support them ;) ).  Can you
> point me to a good tutorial on the internet that can clarify what exactly
> they are used for and how to use them effectively?  Thanks!
>
> Jason
>
>
> On Monday 21 October 2002 04:27 am, David White wrote:
> > BibleTime is written in C++. What's wrong with it using the features of
> > the language it's written in? Namespaces or namespace-like features are
> > common in almost all modern programming languages (Perl, Python, C#,
> > Java, to name a few), and I don't see any problem using them. Even Sword
> > has gone toward using namespaces recently.
> >
> > For truly advanced C++ features, which do not have good platform
> > support, such as partial specialization of templates, I can understand
> > not using them. Namespaces are a fairly basic feature.
> >
> > -David.
>