Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionConverting a lowercase letter to uppercase while keyboard input Pin
pandit8422-Mar-09 3:58
pandit8422-Mar-09 3:58 
AnswerRe: Converting a lowercase letter to uppercase while keyboard input Pin
Yusuf22-Mar-09 4:52
Yusuf22-Mar-09 4:52 
QuestionRe: Converting a lowercase letter to uppercase while keyboard input Pin
David Crow22-Mar-09 16:47
David Crow22-Mar-09 16:47 
QuestionGood ol static member inits Pin
Eytukan21-Mar-09 21:45
Eytukan21-Mar-09 21:45 
AnswerRe: Good ol static member inits Pin
Gary R. Wheeler21-Mar-09 22:26
Gary R. Wheeler21-Mar-09 22:26 
GeneralRe: Good ol static member inits Pin
Eytukan21-Mar-09 22:59
Eytukan21-Mar-09 22:59 
GeneralRe: Good ol static member inits Pin
Gary R. Wheeler21-Mar-09 23:28
Gary R. Wheeler21-Mar-09 23:28 
GeneralRe: Good ol static member inits Pin
Eytukan21-Mar-09 23:44
Eytukan21-Mar-09 23:44 
Gary R. Wheeler wrote:
Stricly speaking, you don't have to initialize the value when you define it:


Yeah the proper word to address that would be to "Define"-it-again.. but to exercise discipline I initialized it & hence called it "initialize". Smile | :)

Gary R. Wheeler wrote:
n the CPP source file. The language designers left it up to the programmer where to place the definition, rather than arbitrarily placing it somewhere themselves. Interestingly enough, the C++ language places relatively few requirements on where in your source code you do things.


Yeah but why not they allow us to define it in the constructor? As we have declared the member as "static" the compiler would be aware - it's a static one and allocate memory accordinly. That's possible right? But why does it get fussed up and asks the user to do all these? .. that was my thought. Or I'm missing something?Unsure | :~

He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

GeneralRe: Good ol static member inits Pin
Gary R. Wheeler21-Mar-09 23:58
Gary R. Wheeler21-Mar-09 23:58 
GeneralRe: Good ol static member inits Pin
Eytukan22-Mar-09 0:05
Eytukan22-Mar-09 0:05 
GeneralRe: Good ol static member inits Pin
Stuart Dootson23-Mar-09 0:31
professionalStuart Dootson23-Mar-09 0:31 
GeneralRe: Good ol static member inits Pin
Eytukan23-Mar-09 2:23
Eytukan23-Mar-09 2:23 
AnswerRe: Good ol static member inits Pin
cmk22-Mar-09 10:28
cmk22-Mar-09 10:28 
GeneralRe: Good ol static member inits Pin
Eytukan22-Mar-09 18:01
Eytukan22-Mar-09 18:01 
GeneralRe: Good ol static member inits Pin
cmk22-Mar-09 20:35
cmk22-Mar-09 20:35 
GeneralRe: Good ol static member inits Pin
Eytukan23-Mar-09 2:29
Eytukan23-Mar-09 2:29 
AnswerRe: Good ol static member inits Pin
Niklas L23-Mar-09 1:55
Niklas L23-Mar-09 1:55 
GeneralRe: Good ol static member inits Pin
Eytukan23-Mar-09 2:35
Eytukan23-Mar-09 2:35 
QuestionNeed a AVC/H.264 Video Decoder Pin
Andy Rama21-Mar-09 21:10
Andy Rama21-Mar-09 21:10 
AnswerRe: Need a AVC/H.264 Video Decoder Pin
Michael Schubert22-Mar-09 1:20
Michael Schubert22-Mar-09 1:20 
GeneralRe: Need a AVC/H.264 Video Decoder Pin
Andy Rama22-Mar-09 20:26
Andy Rama22-Mar-09 20:26 
GeneralRe: Need a AVC/H.264 Video Decoder Pin
Andy Rama22-Mar-09 20:50
Andy Rama22-Mar-09 20:50 
GeneralRe: Need a AVC/H.264 Video Decoder Pin
Michael Schubert22-Mar-09 21:14
Michael Schubert22-Mar-09 21:14 
QuestionRe: Need a AVC/H.264 Video Decoder Pin
Andy Rama23-Mar-09 3:33
Andy Rama23-Mar-09 3:33 
QuestionA default MFC project don't use /Yc compiler option, how does it work? [modified] Pin
followait21-Mar-09 16:33
followait21-Mar-09 16:33 

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.