Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!wugate!uunet!munnari.oz.au!murtoa.cs.mu.oz.au!rob From: rob@cs.mu.oz.au (Robert Wallen) Newsgroups: comp.sys.mac.programmer Subject: OOPS/TCL question Keywords: Beginner,Questions,OOPS,TCL Message-ID: <2849@murtoa.cs.mu.oz.au> Date: 24 Oct 89 11:50:10 GMT Organization: Comp Sci, Melbourne Uni, Australia Lines: 18 Well, having just got my copy of Think C 4.0 torn open (you know, in christmas present frenzy mode) and all installed, I have a couple of sorta dumb questions to ask the world. This is the first ... Am I missing something or is the 'A::' not necessary in the call to x() because B has inherited it and thus 'this->x()' will do? Therefore 'x()' will do too. struct A : direct { void x(void); }; struct B : A { void y(void); }; ... B::y(void) { A::x(); } I know its not necessary because I tried compiling it and it works fine. Why does the Think Class Library seem to specify these things when it doesnt need to??