Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to create icon during runtime? Pin
Hamid_RT20-Oct-06 2:34
Hamid_RT20-Oct-06 2:34 
AnswerRe: How to create icon during runtime? Pin
David Crow20-Oct-06 3:05
David Crow20-Oct-06 3:05 
Questionhow to build an img.h which includes three classes Pin
gentleguy20-Oct-06 1:03
gentleguy20-Oct-06 1:03 
AnswerRe: how to build an img.h which includes three classes Pin
Christian Graus20-Oct-06 1:06
protectorChristian Graus20-Oct-06 1:06 
Questionwrite a generic function simillar to the "fgets" [modified] Pin
kamalesh8220-Oct-06 0:45
kamalesh8220-Oct-06 0:45 
QuestionRe: write a generic function simillar to the "fgets" Pin
Maximilien20-Oct-06 0:54
Maximilien20-Oct-06 0:54 
AnswerRe: write a generic function simillar to the "fgets" Pin
Christian Graus20-Oct-06 0:58
protectorChristian Graus20-Oct-06 0:58 
GeneralRe: write a generic function simillar to the "fgets" Pin
kamalesh8220-Oct-06 1:33
kamalesh8220-Oct-06 1:33 
GeneralRe: write a generic function simillar to the "fgets" Pin
Maximilien20-Oct-06 2:55
Maximilien20-Oct-06 2:55 
QuestionRe: write a generic function simillar to the "fgets" Pin
David Crow20-Oct-06 3:07
David Crow20-Oct-06 3:07 
AnswerRe: write a generic function simillar to the "fgets" Pin
kamalesh8220-Oct-06 4:02
kamalesh8220-Oct-06 4:02 
GeneralRe: write a generic function simillar to the "fgets" Pin
David Crow20-Oct-06 4:07
David Crow20-Oct-06 4:07 
QuestionCopy a module Pin
Cyclone0220-Oct-06 0:24
Cyclone0220-Oct-06 0:24 
QuestionHow to resolve Run time Error ? Pin
zhang80060520-Oct-06 0:12
zhang80060520-Oct-06 0:12 
AnswerRe: How to resolve Run time Error ? Pin
prasad_som20-Oct-06 0:23
prasad_som20-Oct-06 0:23 
QuestionLive Redirection Pin
rupert_durans19-Oct-06 23:49
rupert_durans19-Oct-06 23:49 
QuestionHow to change Project settings by using MSDEV Automation. Pin
Jijo.Raj19-Oct-06 23:31
Jijo.Raj19-Oct-06 23:31 
QuestionWhen to declare variables in C/C++ ? Pin
Mr.Brainley19-Oct-06 23:26
Mr.Brainley19-Oct-06 23:26 
AnswerRe: When to declare variables in C/C++ ? Pin
Cedric Moonen19-Oct-06 23:31
Cedric Moonen19-Oct-06 23:31 
AnswerRe: When to declare variables in C/C++ ? Pin
prasad_som19-Oct-06 23:40
prasad_som19-Oct-06 23:40 
To add Cedric;
By declaring it at start, it will be in memory unnecessarily for longer time, when its required somewhere down in the code. So declare it when its necessary. And its always easy to track it in this case.

Mr.Brainley wrote:
And why is that different in C ?


Its by standard in C.


AnswerRe: When to declare variables in C/C++ ? Pin
Jonathan [Darka]19-Oct-06 23:43
professionalJonathan [Darka]19-Oct-06 23:43 
AnswerRe: When to declare variables in C/C++ ? Pin
Christian Graus20-Oct-06 0:59
protectorChristian Graus20-Oct-06 0:59 
GeneralRe: When to declare variables in C/C++ ? Pin
benjymous20-Oct-06 1:23
benjymous20-Oct-06 1:23 
AnswerRe: When to declare variables in C/C++ ? Pin
David Crow20-Oct-06 3:18
David Crow20-Oct-06 3:18 
QuestionProblem with IHTMLInputElement Pin
georgekjolly19-Oct-06 23:05
georgekjolly19-Oct-06 23:05 

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.