hp6713@mars.njit.edu (Himanshu N. Pandit) (06/02/91)
Hi Folks, 06/02/91
Thanks to all who responed to me for NIH Libraries. Those who wants
to know about how to get it, please call me at (914) 724-4192.
I was wondering lately have we changed name of this group to
C++ and American Waitresses ?? (just kidding)
I am trying to implement a smalltalk like feature called circular
relationship in C++. What I mean is as follows.
Class Employee has reference to say for example Class Payroll. i.e
a pointer to object of class payroll. Now Class payroll also has
a pointer to obbject of class Employee. Got it ? A has reference to B
and B has reference to A. How would I go on implementing this ?
I tried extern class B in class A def file and extern Class A in
class B def file. But it gives me error as it could not lookup complete
method for incomplete type def.
Any help would be appreciated.
Himanshu Pandit hp6713@mars.njit.edu
P.S. I have not yet used NIH library. The moment I do, I will post
my experience.