Thread View: de.comp.lang.c++
1 messages
1 total messages
Started by stolar
Sun, 12 Nov 1995 00:54
pointer to member function
Author: stolar
Date: Sun, 12 Nov 1995 00:54
Date: Sun, 12 Nov 1995 00:54
23 lines
952 bytes
952 bytes
This is beginner's question. I am hoping that someone could mail me the answer or dirrect me to a web page where I coul find the answer. This is my problem: I have two classes X and Y. In class X there is a function Print() and function Pass( pointerToPrint ) In class Y is a function GetPrint( pointerToPrint ) , and pointer variable pnt. I don't know how to do the following: In X::Pass() I want to do the call Y.GetPrint(pointerToPrint) In Y assign pointerToPrint to pnt I would appreciate any help in this matter You can E-mail me at stolar@u.washington.edu Chris
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads