Al-Burak wrote:
Correction
I accidentally forgot to add the name of the namespace

--------- strtools.hpp
namespace jme{
calss strtools{
   std::string str;
   ........

};
}

--------- name.hpp
namespace jme{
class Name : public jme::strtools{
    ....
    // This only gives you an idea as to what the f'tions do
    const std::string& getNameStr() const{return str;}

str is a private member of class strtools, therefore it is inaccesible in class Name ... give code that compiles

as for the error. are you sure you fed all files necesary to the compiler/linker ?
_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to