Click here to Skip to main content
16,008,719 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get notification for check box in CTreeCtrl ? Pin
prasad_som2-Apr-07 19:07
prasad_som2-Apr-07 19:07 
QuestionHow to drag a bitmap?? Pin
hcygxr20082-Apr-07 12:33
hcygxr20082-Apr-07 12:33 
AnswerRe: How to drag a bitmap?? Pin
Mark Salsbery2-Apr-07 13:24
Mark Salsbery2-Apr-07 13:24 
GeneralRe: How to drag a bitmap?? Pin
hcygxr20084-Apr-07 19:15
hcygxr20084-Apr-07 19:15 
QuestionIn Line If Statement Pin
ScotDolan2-Apr-07 12:17
ScotDolan2-Apr-07 12:17 
AnswerRe: In Line If Statement Pin
PJ Arends2-Apr-07 13:24
professionalPJ Arends2-Apr-07 13:24 
QuestionDynamically linked dll, default parameter possible? Pin
CodeHead2-Apr-07 8:00
CodeHead2-Apr-07 8:00 
AnswerRe: Dynamically linked dll, default parameter possible? Pin
AWSC2-Apr-07 15:38
AWSC2-Apr-07 15:38 
Hi Eric,
Sorry I can't help but you will be pleased to know that the latest compiler (VC++ 8) produces a different error.


Error Message
'symbol' : default-arguments are not allowed on this symbol


The C++ compiler does not allow default arguments on pointers to functions.

This code was accepted by the previous version's compiler but now gives an error. For code that works in all versions of Visual C++, do not assign a default value to a pointer-to-function argument.

For more information, see Summary of Compile-Time Breaking Changes.

The following line generates C2383:

Copy Code
// C2383.cpp
// compile with: /c
void (*pf)(int = 0); // C2383
void (*pf)(int); // OK

Regards,
John
GeneralRe: Dynamically linked dll, default parameter possible? Pin
CodeHead4-Apr-07 2:40
CodeHead4-Apr-07 2:40 
Questionhow to use an Array of a class? (modified) Pin
MohammadAmiry2-Apr-07 6:45
MohammadAmiry2-Apr-07 6:45 
AnswerRe: how to use an Array of a class? (modified) Pin
Mark Salsbery2-Apr-07 7:04
Mark Salsbery2-Apr-07 7:04 
GeneralRe: how to use an Array of a class? (modified) Pin
MohammadAmiry2-Apr-07 7:18
MohammadAmiry2-Apr-07 7:18 
AnswerRe: how to use an Array of a class? (modified) Pin
David Crow2-Apr-07 7:16
David Crow2-Apr-07 7:16 
GeneralRe: how to use an Array of a class? (modified) Pin
Mark Salsbery2-Apr-07 7:26
Mark Salsbery2-Apr-07 7:26 
GeneralRe: how to use an Array of a class? (modified) Pin
David Crow2-Apr-07 7:44
David Crow2-Apr-07 7:44 
GeneralRe: how to use an Array of a class? (modified) Pin
Mark Salsbery2-Apr-07 7:48
Mark Salsbery2-Apr-07 7:48 
GeneralRe: how to use an Array of a class? (modified) Pin
MohammadAmiry2-Apr-07 7:26
MohammadAmiry2-Apr-07 7:26 
GeneralRe: how to use an Array of a class? (modified) Pin
Mark Salsbery2-Apr-07 7:31
Mark Salsbery2-Apr-07 7:31 
AnswerRe: how to use an Array of a class? (modified) Pin
Cedric Moonen2-Apr-07 7:41
Cedric Moonen2-Apr-07 7:41 
GeneralRe: how to use an Array of a class? (modified) Pin
led mike2-Apr-07 8:00
led mike2-Apr-07 8:00 
NewsRe: how to use an Array of a class? (modified) Pin
MohammadAmiry2-Apr-07 7:54
MohammadAmiry2-Apr-07 7:54 
AnswerSOLVED: how to use an Array of a class? (modified) Pin
MohammadAmiry2-Apr-07 8:11
MohammadAmiry2-Apr-07 8:11 
Questionerror C2440 help please Pin
bward842-Apr-07 6:40
bward842-Apr-07 6:40 
AnswerRe: error C2440 help please Pin
Mark Salsbery2-Apr-07 7:08
Mark Salsbery2-Apr-07 7:08 
GeneralRe: error C2440 help please Pin
bward842-Apr-07 7:38
bward842-Apr-07 7: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.