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

C / C++ / MFC

 
GeneralRe: non-const static member variale initialization Pin
Matthew Faithfull8-Feb-08 2:29
Matthew Faithfull8-Feb-08 2:29 
GeneralRe: non-const static member variale initialization Pin
led mike8-Feb-08 4:17
led mike8-Feb-08 4:17 
GeneralRe: non-const static member variale initialization Pin
Matthew Faithfull8-Feb-08 6:05
Matthew Faithfull8-Feb-08 6:05 
GeneralRe: non-const static member variale initialization Pin
led mike8-Feb-08 7:22
led mike8-Feb-08 7:22 
GeneralRe: non-const static member variale initialization Pin
George_George8-Feb-08 21:28
George_George8-Feb-08 21:28 
GeneralRe: non-const static member variale initialization Pin
BadKarma7-Feb-08 22:37
BadKarma7-Feb-08 22:37 
GeneralRe: non-const static member variale initialization Pin
George_George8-Feb-08 1:58
George_George8-Feb-08 1:58 
GeneralRe: non-const static member variale initialization Pin
BadKarma8-Feb-08 2:30
BadKarma8-Feb-08 2:30 
Hi, george_george

George_George wrote:
What means "integral constant expression"?

They are alsoo known as compile time constants. Look at int const guidelines (boost)[^]

George_George wrote:
Means for const static member variable, they are not l-value? Actually, I do not agree since for the const static member variable, it is addressable, so it should be a l-value.


This is not correct.
The meaning of l-value is : on the left side of an assignment.
Since its a const it can't be on the left side. Whether you got the address where that value
is stored doesn't matter. If you try to use it in any way on the left side of an expression
you would have an access violation. I'm guessing the value is placed in an read only segment
of memory.

codito ergo sum

GeneralRe: non-const static member variale initialization Pin
George_George8-Feb-08 21:33
George_George8-Feb-08 21:33 
GeneralCOM class registration failed. Pin
Royaltvk7-Feb-08 20:09
Royaltvk7-Feb-08 20:09 
GeneralRe: COM class registration failed. Pin
CPallini7-Feb-08 23:13
mveCPallini7-Feb-08 23:13 
GeneralRe: COM class registration failed. Pin
Royaltvk8-Feb-08 0:28
Royaltvk8-Feb-08 0:28 
GeneralRe: COM class registration failed. Pin
Rajkumar R8-Feb-08 0:50
Rajkumar R8-Feb-08 0:50 
GeneralRe: COM class registration failed. Pin
Iain Clarke, Warrior Programmer8-Feb-08 1:28
Iain Clarke, Warrior Programmer8-Feb-08 1:28 
GeneralRe: COM class registration failed. Pin
Rajkumar R8-Feb-08 2:01
Rajkumar R8-Feb-08 2:01 
Generaleditbox display problem Pin
Chandrasekharan P7-Feb-08 19:24
Chandrasekharan P7-Feb-08 19:24 
QuestionRe: editbox display problem Pin
Rajesh R Subramanian7-Feb-08 20:14
professionalRajesh R Subramanian7-Feb-08 20:14 
GeneralRe: editbox display problem Pin
Chandrasekharan P7-Feb-08 20:59
Chandrasekharan P7-Feb-08 20:59 
GeneralRe: editbox display problem Pin
Chandrasekharan P7-Feb-08 21:11
Chandrasekharan P7-Feb-08 21:11 
GeneralRe: editbox display problem Pin
Hamid_RT10-Feb-08 21:35
Hamid_RT10-Feb-08 21:35 
QuestionCreating SQL Database .mdf file using MFC , VC++ ? Pin
nitin_pro7-Feb-08 19:09
nitin_pro7-Feb-08 19:09 
AnswerRe: Creating SQL Database .mdf file using MFC , VC++ ? Pin
BadKarma8-Feb-08 0:04
BadKarma8-Feb-08 0:04 
GeneralRe: Creating SQL Database .mdf file using MFC , VC++ ? Pin
nitin_pro8-Feb-08 0:21
nitin_pro8-Feb-08 0:21 
AnswerRe: Creating SQL Database .mdf file using MFC , VC++ ? Pin
David Crow8-Feb-08 2:56
David Crow8-Feb-08 2:56 
GeneralRe: Creating SQL Database .mdf file using MFC , VC++ ? Pin
aaaan10-Feb-08 22:27
aaaan10-Feb-08 22:27 

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.