The Mudcat Café TM
Thread #28443   Message #353626
Posted By: Jon Freeman
08-Dec-00 - 09:48 AM
Thread Name: BS: Is this comprehensible?
Subject: RE: BS: Is this comprehensible?
I love it (or what I can understand of it).

Changing the subject, can any of you programers out there tell me how to pass a C++ member function as a parameter?

I can use something along the lines of

void ForEach(void (*Function)());

to call a non-member function such as

void (DoThis);

but I can't get it to work with a member function.

This is just for something I am playing around with for my ammusement. C++ and object orientated programming are not covered on my course.

Jon