|
-
Dec 18th, 2002, 12:51 PM
#1
Thread Starter
Member
Handle to Parent Class
Is there an easy way to get a handle to a parent class?
class Class1{
int m_y;
int m_x;
Class2 c2;
}
class Class2{
//I'd like to talk back to class 1 and set some variables, or call some functions
}
I tried creating a whole class pointer, but that went down in flames.
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
|