Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: CreateProcess(...) Error Pin
Naveen16-Dec-07 18:59
Naveen16-Dec-07 18:59 
GeneralRe: CreateProcess(...) Error Pin
ashishbhatt16-Dec-07 21:47
ashishbhatt16-Dec-07 21:47 
GeneralCount words in Rich Edit Cintrol Pin
CodingLover16-Dec-07 18:05
CodingLover16-Dec-07 18:05 
NewsRe: Count words in Rich Edit Cintrol Pin
CodingLover16-Dec-07 19:50
CodingLover16-Dec-07 19:50 
GeneralRe: Count words in Rich Edit Cintrol Pin
Nelek16-Dec-07 22:28
protectorNelek16-Dec-07 22:28 
QuestionError Spawning rc.exe Pin
T.RATHA KRISHNAN16-Dec-07 17:52
T.RATHA KRISHNAN16-Dec-07 17:52 
GeneralRe: Error Spawning rc.exe Pin
Nibu babu thomas16-Dec-07 18:18
Nibu babu thomas16-Dec-07 18:18 
GeneralRe: Error Spawning rc.exe Pin
Naveen16-Dec-07 18:19
Naveen16-Dec-07 18:19 
QuestionRe: Error Spawning rc.exe Pin
T.RATHA KRISHNAN16-Dec-07 18:44
T.RATHA KRISHNAN16-Dec-07 18:44 
GeneralRe: Error Spawning rc.exe Pin
Naveen16-Dec-07 18:49
Naveen16-Dec-07 18:49 
QuestionRe: Error Spawning rc.exe Pin
T.RATHA KRISHNAN16-Dec-07 18:54
T.RATHA KRISHNAN16-Dec-07 18:54 
GeneralRe: Error Spawning rc.exe Pin
Naveen16-Dec-07 18:54
Naveen16-Dec-07 18:54 
QuestionRe: Error Spawning rc.exe Pin
T.RATHA KRISHNAN16-Dec-07 19:00
T.RATHA KRISHNAN16-Dec-07 19:00 
GeneralRe: Error Spawning rc.exe Pin
Naveen16-Dec-07 19:09
Naveen16-Dec-07 19:09 
QuestionRe: Error Spawning rc.exe Pin
T.RATHA KRISHNAN16-Dec-07 19:28
T.RATHA KRISHNAN16-Dec-07 19:28 
GeneralRe: Error Spawning rc.exe Pin
Naveen16-Dec-07 19:45
Naveen16-Dec-07 19:45 

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.