Click here to Skip to main content
15,904,822 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: why int main() ? Pin
James Brown10-Nov-06 5:27
James Brown10-Nov-06 5:27 
QuestionFirst letter of menu item is automatic access key? Pin
sdehart9-Nov-06 5:36
sdehart9-Nov-06 5:36 
AnswerRe: First letter of menu item is automatic access key? Pin
David Crow9-Nov-06 6:20
David Crow9-Nov-06 6:20 
AnswerRe: First letter of menu item is automatic access key? Pin
toxcct9-Nov-06 7:10
toxcct9-Nov-06 7:10 
QuestionStatic Pin
Waldermort9-Nov-06 4:28
Waldermort9-Nov-06 4:28 
AnswerRe: Static Pin
Cedric Moonen9-Nov-06 4:46
Cedric Moonen9-Nov-06 4:46 
GeneralRe: Static Pin
Niklas L9-Nov-06 4:56
Niklas L9-Nov-06 4:56 
GeneralRe: Static Pin
Waldermort9-Nov-06 5:27
Waldermort9-Nov-06 5:27 
Thanks for the explanations.

Cedric Moonen wrote:
Don't know exactly what's the purpose of global static functions


I remember reading somewhere that this was a C thing, enabling two or more functions with the same name and paramaters to be defined, but each function is only avaialable to the single source file. Not entirely sure about it though.

For the 4th question. I honestly can't see the need for having a static variable in a function like this, EVER.
GeneralRe: Static Pin
Blake Miller9-Nov-06 7:08
Blake Miller9-Nov-06 7:08 
GeneralRe: Static Pin
Waldermort9-Nov-06 8:32
Waldermort9-Nov-06 8:32 
GeneralRe: Static Pin
Blake Miller9-Nov-06 8:38
Blake Miller9-Nov-06 8:38 
QuestionOnKeyDown in dialog app... Pin
xkrja9-Nov-06 4:15
xkrja9-Nov-06 4:15 
AnswerRe: OnKeyDown in dialog app... Pin
Rage9-Nov-06 4:31
professionalRage9-Nov-06 4:31 
GeneralRe: OnKeyDown in dialog app... Pin
xkrja9-Nov-06 4:47
xkrja9-Nov-06 4:47 
GeneralRe: OnKeyDown in dialog app... Pin
TClarke9-Nov-06 5:04
TClarke9-Nov-06 5:04 
GeneralRe: OnKeyDown in dialog app... Pin
xkrja9-Nov-06 10:53
xkrja9-Nov-06 10:53 
GeneralRe: OnKeyDown in dialog app... Pin
TClarke9-Nov-06 23:35
TClarke9-Nov-06 23:35 
GeneralRe: OnKeyDown in dialog app... Pin
xkrja10-Nov-06 4:26
xkrja10-Nov-06 4:26 
QuestionDebug Assertion Failed dbgdel.cpp Line 45 Pin
nahitan9-Nov-06 4:13
nahitan9-Nov-06 4:13 
AnswerRe: Debug Assertion Failed dbgdel.cpp Line 45 Pin
Rage9-Nov-06 4:33
professionalRage9-Nov-06 4:33 
GeneralRe: Debug Assertion Failed dbgdel.cpp Line 45 Pin
Mark Salsbery9-Nov-06 5:11
Mark Salsbery9-Nov-06 5:11 
GeneralRe: Debug Assertion Failed dbgdel.cpp Line 45 Pin
nahitan9-Nov-06 6:06
nahitan9-Nov-06 6:06 
AnswerRe: Debug Assertion Failed dbgdel.cpp Line 45 Pin
Mark Salsbery9-Nov-06 6:14
Mark Salsbery9-Nov-06 6:14 
GeneralRe: Debug Assertion Failed dbgdel.cpp Line 45 Pin
David Crow9-Nov-06 6:23
David Crow9-Nov-06 6:23 
GeneralRe: Debug Assertion Failed dbgdel.cpp Line 45 Pin
nahitan9-Nov-06 8:40
nahitan9-Nov-06 8:40 

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.