[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pointer to objects



Make the methods public.

On Wed, Aug 15, 2001 at 01:30:09PM +0900, eric wrote:
> 
> Hello there,
> 
> I'm fairly new to c++programming, and I'm sure the question I'm going to ask
> has a very very simple answer but since I don't know it, and have searched
> on the Internet for an answer, without success, I thought I'd try e-mailing
> yourself.
> 
> Put simply:
> 
>  I have two classes.
> 
> 1/	Class A is the main class, and is realized as object A,
> 2/	object B is created from class B in one of the member functions of
> object A.
> 
> I simply want to access some other member functions of object B, by any of
> the member functions in object A.
> 
> If you could tell me how to do this, I'd really appreciate it.
> 
> Best Regards,
> Eric
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: