Subj : Re: class declaration help To : borland.public.cpp.borlandcpp From : Jeff Kish Date : Fri Oct 03 2003 12:46 pm On Fri, 29 Aug 2003 23:11:08 -0700, "detritus" wrote: >thanx Ed. > >Ed Mulroy [TeamB] wrote in message >news:3f4f3df8$1@newsgroups.borland.com... >> You can use an incomplete declaration which identifies B as the name of a >> class type. >> >> For instance: >> >> -------------------- >> class B; >> >> class A{ >> public: >> A(); >> void Print(B b); >> int x; >> }; >> >> class B{ >> void Multiply(A a); >> int r; >> }; >> >> -------------------- FYI, those are called "forward" declarations. HTH Jeff Kish .