c++ question

bridged with qdn.public.qnxrtp.applications
Post Reply
ran zhang

c++ question

Post by ran zhang » Thu May 02, 2002 12:27 pm

in c++, how do print out the address of a function?

Mario Charest

Re: c++ question

Post by Mario Charest » Thu May 02, 2002 3:27 pm

"ran zhang" <rzhang@vamcointernational.com> wrote in message
news:aarb0j$rk0$1@inn.qnx.com...
in c++, how do print out the address of a function?
printf("%p", functionname );

cout << functionname << endl;


Dean Douthat

Re: c++ question

Post by Dean Douthat » Thu May 23, 2002 2:34 pm

It's in the linker map.

ran zhang wrote:

> in c++, how do print out the address of a function?

Post Reply

Return to “qdn.public.qnxrtp.applications”