Path: utzoo!attcan!uunet!spool.mu.edu!sol.ctr.columbia.edu!emory!hubcap!grimlok From: grimlok@hubcap.clemson.edu (Mike Percy) Newsgroups: comp.lang.c++ Subject: Is it just me? Problem, need help... Message-ID: <13358@hubcap.clemson.edu> Date: 1 Mar 91 18:07:41 GMT Organization: Clemson University, Clemson, SC Lines: 33 This is a simplification of a real-code problem. Any help would be appreciated! Turbo C++ Version 1.01 Copyright (c) 1990 Borland International temp.cpp: Error temp.cpp 10: 'func' is not a member of 'bar' in function foo::barfunc() *** 1 errors in Compile *** -------------------------------------------------------------------- class bar; class foo { bar *barptr; public: void barfunc() { barptr->func(); } void func(); }; class bar { foo *fooptr; public: void foofunc() { fooptr->func(); } void func(); }; -------------------------------------------------------------------- Is there a way to declare this so that everything works? "I don't know about your brain, but mine is really...bossy." Mike Percy grimlok@hubcap.clemson.edu ISD, Clemson University mspercy@clemson.BITNET (803)656-3780 mspercy@clemson.clemson.edu