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

C / C++ / MFC

 
QuestionMessage Map Entries For CAsyncSocet Pin
ForNow16-May-09 17:36
ForNow16-May-09 17:36 
AnswerRe: Message Map Entries For CAsyncSocet Pin
«_Superman_»16-May-09 19:23
professional«_Superman_»16-May-09 19:23 
GeneralRe: Message Map Entries For CAsyncSocet Pin
ForNow16-May-09 21:50
ForNow16-May-09 21:50 
Questiondefault arguments resolution Pin
hawk23reddy16-May-09 17:14
hawk23reddy16-May-09 17:14 
AnswerRe: default arguments resolution Pin
Joe Woodbury16-May-09 18:05
professionalJoe Woodbury16-May-09 18:05 
GeneralRe: default arguments resolution Pin
hawk23reddy16-May-09 18:28
hawk23reddy16-May-09 18:28 
GeneralRe: default arguments resolution Pin
Joe Woodbury16-May-09 18:29
professionalJoe Woodbury16-May-09 18:29 
GeneralRe: default arguments resolution Pin
Stuart Dootson17-May-09 13:04
professionalStuart Dootson17-May-09 13:04 
The C++ standard says this about default arguments (in section 8.3.6 para 10):

10 A virtual function call (10.3) uses the default arguments in the declaration of the virtual function determined by the static type of the pointer or reference denoting the object. An overriding function in a derived class does not acquire default arguments from the function it overrides.


Note the use of static type of the pointer or reference - the static type of your reference is a reference to the base type, so it uses the base type's default parameter value.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

Questionsizeof function resolution Pin
hawk23reddy16-May-09 17:08
hawk23reddy16-May-09 17:08 
AnswerRe: sizeof function resolution Pin
Joe Woodbury16-May-09 17:57
professionalJoe Woodbury16-May-09 17:57 
AnswerRe: sizeof function resolution Pin
Rick York16-May-09 18:06
mveRick York16-May-09 18:06 
GeneralRe: sizeof function resolution Pin
hawk23reddy16-May-09 18:22
hawk23reddy16-May-09 18:22 
GeneralRe: sizeof function resolution Pin
Joe Woodbury16-May-09 18:28
professionalJoe Woodbury16-May-09 18:28 
GeneralRe: sizeof function resolution Pin
J.B.17-May-09 0:16
J.B.17-May-09 0:16 
Questioncode Pin
samar aladwan16-May-09 5:18
samar aladwan16-May-09 5:18 
AnswerRe: code Pin
CPallini16-May-09 5:27
mveCPallini16-May-09 5:27 
AnswerRe: code Pin
0x3c016-May-09 5:43
0x3c016-May-09 5:43 
AnswerRe: code Pin
David Crow16-May-09 18:07
David Crow16-May-09 18:07 
QuestionHow to let an SDI-Appliction automatically scroll Pin
susanne116-May-09 3:44
susanne116-May-09 3:44 
AnswerRe: How to let an SDI-Appliction automatically scroll Pin
«_Superman_»16-May-09 3:56
professional«_Superman_»16-May-09 3:56 
GeneralRe: How to let an SDI-Appliction automatically scroll Pin
susanne118-May-09 0:37
susanne118-May-09 0:37 
GeneralRe: How to let an SDI-Appliction automatically scroll Pin
«_Superman_»18-May-09 0:45
professional«_Superman_»18-May-09 0:45 
GeneralRe: How to let an SDI-Appliction automatically scroll Pin
susanne118-May-09 0:56
susanne118-May-09 0:56 
QuestionMFC Popup Dialog GDI DirectDraw Pin
decap00816-May-09 3:23
decap00816-May-09 3:23 
Questionneed code solution plz Pin
samar aladwan16-May-09 3:22
samar aladwan16-May-09 3:22 

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.