Hi all. I have been stuck on this idea for days now. From my understanding, to call a member function by pointer, I will need two things: A pointer to the class and a pointer to the function. With...
Type: Posts; User: d0773d
Hi all. I have been stuck on this idea for days now. From my understanding, to call a member function by pointer, I will need two things: A pointer to the class and a pointer to the function. With...
Hi all,
I recently read about the fundementals of pointers and how I can use them to point to objects and class methods. The steps that I have recently taken to point to class methods are, for...
Thank you. Your explaination helped.
(this->*foo)(2); worked successfully.
Hi all,
I am attempting to wrap my brain around function pointers. I created two files, exeCallback.h and exeCallback.cpp. I am receiving the error: "expression must have (pointer-to-)...