We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I saw a declaration as below
typedef void (*P)
(FORMAT_INFO *fmt);
what is this declaration for?
thank you so much
best regard,
paul
that really makes me crazy.
Your question indicates that you are quite new to this, so do not worry about "makes me crazy". It will happen to you as it has happened to all of us, you might as well accept it and say "I'm there" :)
Erik
The fun sreally tarts when you have a function pointer that either returns a function pointer, or takes a function pointer as parameter, or - gasp - both.
These declarations looks so horrible that most people chooses a multi-step declaration by by creating a separate type-def for the returned pointer and/or for the parameter pointer.
"The fun sreally tarts" -> "The fun really starts"
Oops - must have managed a drag/drop in the text, or else my output ring buffer implementation is seriously broken...
is that a funtion pointer?
hahaha!!just joking
thanks a lot, everyone