Namespace is a new facility in C++. Its purpose is to avoid name clashes between different libraries. I have included the namespace capability. Activate the line #define use_namespace in include.h. Then include either the statement
using namespace NEWMAT;at the beginning of any file that needs to access the newmat library or
using namespace RBD_LIBRARIES;at the beginning of any file that needs to access all my libraries.
This works correctly with Borland C++ version 5.
Microsoft Visual C++ version 5 works in my example and test files, but fails with apparently insignificant changes (it may be more reliable if you have applied service pack 3). If you #include "newmatap.h", but no other newmat include file, then also #include "newmatio.h".
My use of namespace does not work with Gnu g++ version 2.7.2.
I have defined the following namespaces: