|
-
March 29th, 1999, 08:34 PM
#1
circular references
Hi,
How can a use a circular reference in Visual C++? I want to create a pointer
of one class, classA, to point to another class, classB, (classB* ptrB) and set up a pointer from classB to point at classA (classA* ptrA). However, I can't
seem include classB in classA as well as including classA in classB. In Object
Pascal one can do this by including the other class in the variable uses clause.
Thanks for your help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|