Click here to Skip to main content
15,917,522 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MSDN const_cast sample Pin
CPallini16-Dec-07 22:05
mveCPallini16-Dec-07 22:05 
GeneralRe: MSDN const_cast sample Pin
George_George16-Dec-07 22:28
George_George16-Dec-07 22:28 
GeneralRe: MSDN const_cast sample Pin
CPallini16-Dec-07 22:40
mveCPallini16-Dec-07 22:40 
GeneralRe: MSDN const_cast sample Pin
toxcct16-Dec-07 22:49
toxcct16-Dec-07 22:49 
GeneralRe: MSDN const_cast sample Pin
CPallini16-Dec-07 22:56
mveCPallini16-Dec-07 22:56 
GeneralRe: MSDN const_cast sample Pin
George_George17-Dec-07 2:21
George_George17-Dec-07 2:21 
GeneralRe: MSDN const_cast sample Pin
toxcct17-Dec-07 3:32
toxcct17-Dec-07 3:32 
GeneralRe: MSDN const_cast sample Pin
George_George17-Dec-07 2:19
George_George17-Dec-07 2:19 
GeneralRe: MSDN const_cast sample Pin
toxcct16-Dec-07 22:15
toxcct16-Dec-07 22:15 
GeneralRe: MSDN const_cast sample Pin
George_George16-Dec-07 22:29
George_George16-Dec-07 22:29 
GeneralRe: MSDN const_cast sample Pin
toxcct16-Dec-07 22:46
toxcct16-Dec-07 22:46 
GeneralRe: MSDN const_cast sample Pin
George_George17-Dec-07 2:23
George_George17-Dec-07 2:23 
GeneralRe: MSDN const_cast sample Pin
CPallini16-Dec-07 22:32
mveCPallini16-Dec-07 22:32 
GeneralContext Menu Pin
john563216-Dec-07 21:20
john563216-Dec-07 21:20 
GeneralRe: Context Menu Pin
Naveen16-Dec-07 21:34
Naveen16-Dec-07 21:34 
GeneralRe: Context Menu Pin
Iain Clarke, Warrior Programmer17-Dec-07 0:33
Iain Clarke, Warrior Programmer17-Dec-07 0:33 
QuestionHow to Color a cell in a ListControl? Pin
Vikas_12316-Dec-07 20:40
Vikas_12316-Dec-07 20:40 
GeneralRe: How to Color a cell in a ListControl? Pin
Naveen16-Dec-07 21:02
Naveen16-Dec-07 21:02 
GeneralRe: How to Color a cell in a ListControl? Pin
Vikas_12316-Dec-07 22:53
Vikas_12316-Dec-07 22:53 
GeneralMFC vs .NET vs Qt? (Maybe C# even?) [long post] Pin
Member 451867316-Dec-07 20:12
Member 451867316-Dec-07 20:12 
QuestionCan we edit any item in CListCtrl? Pin
KASR116-Dec-07 19:34
KASR116-Dec-07 19:34 
AnswerRe: Can we edit any item in CListCtrl? Pin
Naveen16-Dec-07 19:51
Naveen16-Dec-07 19:51 
Generalabout inline asm jump a address table. Pin
HOW WHAT16-Dec-07 19:27
HOW WHAT16-Dec-07 19:27 
GeneralRe: about inline asm jump a address table. Pin
Mike Dimmick18-Dec-07 6:51
Mike Dimmick18-Dec-07 6:51 
Visual C++ will compile whatever it thinks is most effective dependent on the compiler options you have selected. I typically select /Oxs (Minimize Size) as it tends to produce a smaller binary. In many circumstances this will actually run faster as more code fits into the processor's caches and less paging typically happens. Second-guessing the compiler often leads to worse performance.

It's important to be aware of the differences is both bandwidth and latency between different types of memory in a modern computer system, when evaluating different choices in optimization. See Herb Sutter's Machine Architecture[^] presentation for the Northwest C++ User's Group.

These kinds of micro-optimizations are for times when you've already eliminated any possible gains you can get from improving your use of data structures and algorithms, and already made your data structures as cache-efficient as you can, so your program isn't stalling due to CPU wait-states. Generally you'll find more improvement by improving one of those areas instead.

DoEvents: Generating unexpected recursion since 1991

GeneralCreateProcess(...) Error Pin
ashishbhatt16-Dec-07 18:48
ashishbhatt16-Dec-07 18:48 

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.