By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,194 Members | 811 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,194 IT Pros & Developers. It's quick & easy.

how to wirte a pointer member function to access the non static member date

P: 3
i have defficulties in coding what is the appropriate code
Mar 17 '07 #1
Share this Question
Share on Google+
1 Reply

P: 2,476
pointer to a function like this ......

return_type fun(param_types);
return_type (*fun_ptr)(param_types) = fun;

if u write (*fun_ptr)(actual_param_types) .. here the function gets called

now tell what's ur problem with it .... for more clearification plz send me ur sample code ....

Mar 17 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.