Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to store a value to a single cell in a CListCtrl? Pin
led mike26-Nov-07 10:52
led mike26-Nov-07 10:52 
GeneralRe: How to store a value to a single cell in a CListCtrl? Pin
KellyR26-Nov-07 11:08
KellyR26-Nov-07 11:08 
GeneralRe: How to store a value to a single cell in a CListCtrl? Pin
KellyR26-Nov-07 12:15
KellyR26-Nov-07 12:15 
GeneralRe: How to store a value to a single cell in a CListCtrl? Pin
Nelek26-Nov-07 20:18
protectorNelek26-Nov-07 20:18 
GeneralRe: How to store a value to a single cell in a CListCtrl? Pin
Roger Broomfield26-Nov-07 20:28
Roger Broomfield26-Nov-07 20:28 
AnswerRe: How to store a value to a single cell in a CListCtrl? Pin
KellyR27-Nov-07 5:00
KellyR27-Nov-07 5:00 
GeneralRe: How to store a value to a single cell in a CListCtrl? Pin
led mike27-Nov-07 4:34
led mike27-Nov-07 4:34 
QuestionConstants optimization Pin
hint_5426-Nov-07 9:59
hint_5426-Nov-07 9:59 
Hi all =)

An easy one. I'm just not sure the compiler does this the way I think it does...

The following expression would be evaluted to a constant, right?

(tOC(1) << (sizeof(T) << 3)) - 1

Lets say that, when compiled, the code will no longer be an expression, but a constant value. But what about this?

oc & ((tOC(1) << (sizeof(T) << 3)) - 1)

Evaluates to:

oc & const

Is this right?

Best regards
QuestionRe: Constants optimization Pin
CPallini26-Nov-07 11:22
mveCPallini26-Nov-07 11:22 
AnswerRe: Constants optimization Pin
hint_5426-Nov-07 11:50
hint_5426-Nov-07 11:50 
JokeRe: Constants optimization Pin
Nelek26-Nov-07 20:10
protectorNelek26-Nov-07 20:10 
GeneralRe: Constants optimization Pin
hint_5426-Nov-07 23:56
hint_5426-Nov-07 23:56 
QuestionInvertRgn Pin
bob1697226-Nov-07 8:44
bob1697226-Nov-07 8:44 
AnswerRe: InvertRgn Pin
Mark Salsbery26-Nov-07 8:47
Mark Salsbery26-Nov-07 8:47 
GeneralRe: InvertRgn Pin
bob1697226-Nov-07 8:56
bob1697226-Nov-07 8:56 
GeneralRe: InvertRgn Pin
Mark Salsbery26-Nov-07 9:02
Mark Salsbery26-Nov-07 9:02 
GeneralRe: InvertRgn Pin
bob1697226-Nov-07 9:20
bob1697226-Nov-07 9:20 
GeneralRe: InvertRgn Pin
bob1697226-Nov-07 10:48
bob1697226-Nov-07 10:48 
GeneralRe: InvertRgn Pin
Mark Salsbery26-Nov-07 12:53
Mark Salsbery26-Nov-07 12:53 
GeneralRe: InvertRgn Pin
bob1697226-Nov-07 18:44
bob1697226-Nov-07 18:44 
GeneralRe: InvertRgn Pin
Mark Salsbery27-Nov-07 7:18
Mark Salsbery27-Nov-07 7:18 
GeneralRe: InvertRgn Pin
bob1697227-Nov-07 9:48
bob1697227-Nov-07 9:48 
GeneralRe: InvertRgn Pin
Mark Salsbery27-Nov-07 9:57
Mark Salsbery27-Nov-07 9:57 
GeneralRe: InvertRgn Pin
bob1697227-Nov-07 10:10
bob1697227-Nov-07 10:10 
GeneralRe: InvertRgn Pin
Mark Salsbery27-Nov-07 10:50
Mark Salsbery27-Nov-07 10:50 

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.