Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ListBox problem Pin
Rage16-May-06 1:23
professionalRage16-May-06 1:23 
QuestionTypedefs Pin
koumodaki15-May-06 23:49
koumodaki15-May-06 23:49 
AnswerRe: Typedefs Pin
Cedric Moonen15-May-06 23:55
Cedric Moonen15-May-06 23:55 
AnswerRe: Typedefs Pin
Stephen Hewitt16-May-06 0:06
Stephen Hewitt16-May-06 0:06 
AnswerRe: Typedefs Pin
ThatsAlok16-May-06 0:08
ThatsAlok16-May-06 0:08 
AnswerRe: Typedefs Pin
Laxman Auti16-May-06 1:33
Laxman Auti16-May-06 1:33 
AnswerRe: Typedefs Pin
koumodaki16-May-06 2:02
koumodaki16-May-06 2:02 
GeneralRe: Typedefs Pin
Stephen Hewitt16-May-06 14:51
Stephen Hewitt16-May-06 14:51 
If you use the rule I gave it's easy to figure out. First remove the typedef and see what it means:
CSimSerial* (*GET_SIM_INTF_CREATOR)(void);

Note that I've adjusted the formatting slightly. This would declare a variable called "GET_SIM_INTF_CREATOR" which is a pointer to a function which returns a "CSimSerial*" and takes no parameters.

So with the typedef on the front:
typedef CSimSerial* (*GET_SIM_INTF_CREATOR)(void);

This creates an alias called "GET_SIM_INTF_CREATOR" for a pointer to a function which returns a "CSimSerial*" and takes no parameters.


Steve
QuestionHow to record avi with sound from BITMAP Pin
huutribk200115-May-06 23:19
huutribk200115-May-06 23:19 
QuestionATL Service CreateProcess Pin
Oldnavigator15-May-06 23:16
Oldnavigator15-May-06 23:16 
QuestionTCP and Thread problem Pin
Just Baballa15-May-06 22:57
Just Baballa15-May-06 22:57 
AnswerRe: TCP and Thread problem Pin
Cedric Moonen15-May-06 23:02
Cedric Moonen15-May-06 23:02 
GeneralRe: TCP and Thread problem Pin
Just Baballa15-May-06 23:30
Just Baballa15-May-06 23:30 
QuestionRemote Debugging Pin
Raj241115-May-06 22:51
Raj241115-May-06 22:51 
Questioncalculate the size of HBITMAP Pin
anilksingh15-May-06 21:55
anilksingh15-May-06 21:55 
AnswerRe: calculate the size of HBITMAP Pin
Hamid_RT15-May-06 22:30
Hamid_RT15-May-06 22:30 
AnswerRe: calculate the size of HBITMAP Pin
Jitendra gangwar15-May-06 22:54
Jitendra gangwar15-May-06 22:54 
AnswerRe: calculate the size of HBITMAP Pin
Sarath C16-May-06 1:58
Sarath C16-May-06 1:58 
AnswerRe: calculate the size of HBITMAP Pin
David Crow16-May-06 3:55
David Crow16-May-06 3:55 
QuestionReading and Writing to a file at the same time Pin
waxie15-May-06 21:24
waxie15-May-06 21:24 
AnswerRe: Reading and Writing to a file at the same time Pin
Naveen15-May-06 21:50
Naveen15-May-06 21:50 
GeneralRe: Reading and Writing to a file at the same time Pin
waxie15-May-06 21:51
waxie15-May-06 21:51 
GeneralRe: Reading and Writing to a file at the same time Pin
Naveen15-May-06 21:57
Naveen15-May-06 21:57 
GeneralRe: Reading and Writing to a file at the same time Pin
waxie15-May-06 22:27
waxie15-May-06 22:27 
GeneralRe: Reading and Writing to a file at the same time Pin
kakan15-May-06 22:35
professionalkakan15-May-06 22:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.