Click here to Skip to main content
15,887,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Member function pionters in C++ Pin
TheGreatAndPowerfulOz12-Sep-11 12:23
TheGreatAndPowerfulOz12-Sep-11 12:23 
GeneralRe: Member function pionters in C++ Pin
Chris Losinger12-Sep-11 15:20
professionalChris Losinger12-Sep-11 15:20 
GeneralRe: Member function pionters in C++ Pin
TheGreatAndPowerfulOz13-Sep-11 12:54
TheGreatAndPowerfulOz13-Sep-11 12:54 
GeneralRe: Member function pionters in C++ Pin
Chris Losinger13-Sep-11 15:51
professionalChris Losinger13-Sep-11 15:51 
GeneralRe: Member function pionters in C++ Pin
Erudite_Eric13-Sep-11 22:50
Erudite_Eric13-Sep-11 22:50 
AnswerRe: Member function pionters in C++ Pin
jschell12-Sep-11 8:30
jschell12-Sep-11 8:30 
GeneralRe: Member function pionters in C++ Pin
TheGreatAndPowerfulOz12-Sep-11 12:24
TheGreatAndPowerfulOz12-Sep-11 12:24 
GeneralRe: Member function pionters in C++ Pin
Erudite_Eric12-Sep-11 20:39
Erudite_Eric12-Sep-11 20:39 
You know, if they are going to put the feature in the language, then saying "you shouldnt use that feature because there are better ways of doing it" is total bollocks. Smile | :)

The fact is the feature exists, yet the syntax is inconsistent with non pointer functions.

OK, take pointer member variables. Do you have to reference them as 'this->*pInt = 1;'

No, you just write '*pInt = 1;' in any function belonging to that class.

Yet you cant for a function pointer. You cant do (*pProc)(blah blah blah) you have to do (this->*pProc)(blah blah blah).

It is wrong! Smile | :)
==============================

Nothing to say.

GeneralRe: Member function pionters in C++ Pin
jschell13-Sep-11 11:38
jschell13-Sep-11 11:38 
GeneralRe: Member function pionters in C++ Pin
Erudite_Eric13-Sep-11 22:43
Erudite_Eric13-Sep-11 22:43 
GeneralRe: Member function pionters in C++ Pin
jschell14-Sep-11 13:16
jschell14-Sep-11 13:16 
AnswerRe: Member function pionters in C++ Pin
TheGreatAndPowerfulOz12-Sep-11 12:18
TheGreatAndPowerfulOz12-Sep-11 12:18 
GeneralRe: Member function pionters in C++ Pin
Erudite_Eric12-Sep-11 20:34
Erudite_Eric12-Sep-11 20:34 
GeneralRe: Member function pionters in C++ Pin
TheGreatAndPowerfulOz13-Sep-11 12:55
TheGreatAndPowerfulOz13-Sep-11 12:55 
AnswerRe: Member function pionters in C++ [modified] Pin
Stefan_Lang13-Sep-11 23:01
Stefan_Lang13-Sep-11 23:01 
GeneralRe: Member function pionters in C++ Pin
Erudite_Eric14-Sep-11 20:17
Erudite_Eric14-Sep-11 20:17 
QuestionDrag n Drop not accepting file outside of application Pin
TheHelenLee11-Sep-11 19:31
TheHelenLee11-Sep-11 19:31 
AnswerRe: Drag n Drop not accepting file outside of application [modified] Pin
Code-o-mat11-Sep-11 22:25
Code-o-mat11-Sep-11 22:25 
GeneralRe: Drag n Drop not accepting file outside of application Pin
TheHelenLee12-Sep-11 14:36
TheHelenLee12-Sep-11 14:36 
AnswerRe: Drag n Drop not accepting file outside of application Pin
TheHelenLee12-Sep-11 16:18
TheHelenLee12-Sep-11 16:18 
QuestionMicrosecond timer Pin
azhari2411-Sep-11 15:24
azhari2411-Sep-11 15:24 
AnswerRe: Microsecond timer Pin
David Crow11-Sep-11 17:24
David Crow11-Sep-11 17:24 
GeneralRe: Microsecond timer Pin
azhari2412-Sep-11 2:37
azhari2412-Sep-11 2:37 
AnswerRe: Microsecond timer Pin
CPallini11-Sep-11 22:17
mveCPallini11-Sep-11 22:17 
GeneralRe: Microsecond timer Pin
azhari2412-Sep-11 2:38
azhari2412-Sep-11 2:38 

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.