Click here to Skip to main content
15,885,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCannot add variable in MFC Class view wizard – again ( VC6.0) Pin
Vaclav_9-Oct-11 8:14
Vaclav_9-Oct-11 8:14 
AnswerRe: Cannot add variable in MFC Class view wizard – again ( VC6.0) SOLVED Pin
Vaclav_9-Oct-11 8:30
Vaclav_9-Oct-11 8:30 
QuestionC/C++ Optimization Pin
Hans Dietrich9-Oct-11 4:49
mentorHans Dietrich9-Oct-11 4:49 
AnswerRe: C/C++ Optimization Pin
Stephen Hewitt9-Oct-11 4:56
Stephen Hewitt9-Oct-11 4:56 
AnswerRe: C/C++ Optimization Pin
Hans Dietrich9-Oct-11 5:38
mentorHans Dietrich9-Oct-11 5:38 
GeneralRe: C/C++ Optimization Pin
«_Superman_»9-Oct-11 16:50
professional«_Superman_»9-Oct-11 16:50 
AnswerRe: C/C++ Optimization Pin
Erudite_Eric9-Oct-11 5:48
Erudite_Eric9-Oct-11 5:48 
AnswerRe: C/C++ Optimization Pin
cmk9-Oct-11 8:42
cmk9-Oct-11 8:42 
Optimization: Minimize Size
Inline Function Expansion: Only those explicitly marked
Enable Intrinsic Functions: Yes
Favor Size or Speed: Favor small code
Omit Frame Pointers: No
Enable Fiber-safe Optimizations: Yes
Whole Program Optimization: Yes

Favour size or speed is a result of previous issues with speed optimizations causing problems. Also, smaller code can result in less page swapping, which swamps any benefits from 'faster' code.
I had also done a compare of a number of apps compiled both ways. I was rarely able to find significant differences in speed, but often in size - the size opt had more effect.

Inline expansion 'Any' has caused significant module bloating for me before. This usually happens with template code. I like this part to be deterministic.

Fiber/whole optimizations, never had a reason to turn them off.
...cmk

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack

GeneralRe: C/C++ Optimization Pin
Hans Dietrich10-Oct-11 3:03
mentorHans Dietrich10-Oct-11 3:03 
GeneralRe: C/C++ Optimization Pin
Randor 10-Oct-11 13:26
professional Randor 10-Oct-11 13:26 
GeneralRe: C/C++ Optimization Pin
cmk12-Oct-11 7:06
cmk12-Oct-11 7:06 
QuestionExcel automation. How to save as *.xls with Excel 2010? Pin
Falconapollo8-Oct-11 20:09
Falconapollo8-Oct-11 20:09 
GeneralRe: Excel automation. How to save as *.xls with Excel 2010? Pin
David Crow10-Oct-11 3:31
David Crow10-Oct-11 3:31 
Questionhow to specify the compiler search path?(Visual Studio 2005) Pin
Falconapollo8-Oct-11 19:06
Falconapollo8-Oct-11 19:06 
AnswerRe: how to specify the compiler search path?(Visual Studio 2005) Pin
PJ Arends8-Oct-11 20:37
professionalPJ Arends8-Oct-11 20:37 
GeneralRe: how to specify the compiler search path?(Visual Studio 2005) Pin
Falconapollo8-Oct-11 20:40
Falconapollo8-Oct-11 20:40 
AnswerRe: how to specify the compiler search path?(Visual Studio 2005) Pin
Niklas L8-Oct-11 23:14
Niklas L8-Oct-11 23:14 
AnswerRe: how to specify the compiler search path?(Visual Studio 2005) Pin
Richard MacCutchan8-Oct-11 23:21
mveRichard MacCutchan8-Oct-11 23:21 
AnswerRe: how to specify the compiler search path?(Visual Studio 2005) Pin
Luc Pattyn8-Oct-11 23:24
sitebuilderLuc Pattyn8-Oct-11 23:24 
Questionsending SMS in C++ Pin
Hadi Dayvary8-Oct-11 9:00
professionalHadi Dayvary8-Oct-11 9:00 
AnswerRe: sending SMS in C++ Pin
André Kraak8-Oct-11 9:14
André Kraak8-Oct-11 9:14 
GeneralRe: sending SMS in C++ Pin
Hadi Dayvary8-Oct-11 10:20
professionalHadi Dayvary8-Oct-11 10:20 
AnswerRe: sending SMS in C++ Pin
Erudite_Eric9-Oct-11 3:48
Erudite_Eric9-Oct-11 3:48 
GeneralRe: sending SMS in C++ Pin
Hadi Dayvary9-Oct-11 9:35
professionalHadi Dayvary9-Oct-11 9:35 
QuestionBasic Question About LRESULT Pin
AmbiguousName7-Oct-11 20:30
AmbiguousName7-Oct-11 20:30 

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.