Click here to Skip to main content
15,905,148 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help!!! how to avoid GetOpenFileName() dialog show right key menu Pin
David Crow11-May-07 6:42
David Crow11-May-07 6:42 
QuestionHow can I use MFC DLL in an WIN 32 Application? Pin
VCSharp00711-May-07 4:32
VCSharp00711-May-07 4:32 
AnswerRe: How can I use MFC DLL in an WIN 32 Application? Pin
Mark Salsbery11-May-07 5:02
Mark Salsbery11-May-07 5:02 
Questionconst and volatile Pin
Kiran Pinjala11-May-07 4:27
Kiran Pinjala11-May-07 4:27 
AnswerRe: const and volatile Pin
Nemanja Trifunovic11-May-07 4:30
Nemanja Trifunovic11-May-07 4:30 
AnswerRe: const and volatile Pin
CPallini11-May-07 4:34
mveCPallini11-May-07 4:34 
AnswerRe: const and volatile Pin
Roger Stoltz11-May-07 4:39
Roger Stoltz11-May-07 4:39 
AnswerRe: const and volatile Pin
Nelek13-May-07 20:21
protectorNelek13-May-07 20:21 
Hi,

const is to say the programm that the value in this variable should not change or be modified. One easy example to use it is when you use a function e.g. SearchObject (const CString szName, const int nID)

here I'm telling that these szName and nID may not being changed inside the run of the function.


About volatile... I can't tell you more than the MSDN help says, I have never used it.

volatile Member data is loaded from memory each time it is accessed; disables certain optimizations.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Questionhow to show select file and directory dialog in c&api program Pin
zhongwenjia11-May-07 3:54
zhongwenjia11-May-07 3:54 
QuestionRe: how to show select file and directory dialog in c&api program Pin
David Crow11-May-07 4:01
David Crow11-May-07 4:01 
AnswerRe: how to show select file and directory dialog in c&api program Pin
zhongwenjia11-May-07 4:34
zhongwenjia11-May-07 4:34 
GeneralRe: how to show select file and directory dialog in c&api program Pin
David Crow11-May-07 5:15
David Crow11-May-07 5:15 
QuestionDesktop question [modified] Pin
ZaebanB11-May-07 3:48
ZaebanB11-May-07 3:48 
AnswerRe: Desktop question Pin
Hans Dietrich11-May-07 4:29
mentorHans Dietrich11-May-07 4:29 
QuestionCalculation of size of function Pin
SanjaySMK11-May-07 3:39
SanjaySMK11-May-07 3:39 
AnswerRe: Calculation of size of function Pin
Maximilien11-May-07 3:52
Maximilien11-May-07 3:52 
GeneralRe: Calculation of size of function Pin
Russell'11-May-07 23:34
Russell'11-May-07 23:34 
AnswerRe: Calculation of size of function Pin
Hans Dietrich11-May-07 4:21
mentorHans Dietrich11-May-07 4:21 
Questionsave xml in vc++2005 Pin
lavy288311-May-07 3:21
lavy288311-May-07 3:21 
AnswerRe: save xml in vc++2005 Pin
Hans Dietrich11-May-07 3:37
mentorHans Dietrich11-May-07 3:37 
QuestionSaving DC Bitmap Pin
masnu11-May-07 2:55
masnu11-May-07 2:55 
AnswerRe: Saving DC Bitmap Pin
Hans Dietrich11-May-07 3:32
mentorHans Dietrich11-May-07 3:32 
Questionsimple error with printing Pin
ldsdbomber11-May-07 2:47
ldsdbomber11-May-07 2:47 
AnswerRe: simple error with printing Pin
David Crow11-May-07 2:57
David Crow11-May-07 2:57 
GeneralRe: simple error with printing Pin
ldsdbomber11-May-07 3:11
ldsdbomber11-May-07 3:11 

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.