Click here to Skip to main content
15,120,477 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 9:14
MemberVaclav_9-Oct-11 9:14 
AnswerRe: Cannot add variable in MFC Class view wizard – again ( VC6.0) SOLVED Pin
Vaclav_9-Oct-11 9:30
MemberVaclav_9-Oct-11 9:30 
QuestionC/C++ Optimization Pin
Hans Dietrich9-Oct-11 5:49
mentorHans Dietrich9-Oct-11 5:49 
AnswerRe: C/C++ Optimization Pin
Stephen Hewitt9-Oct-11 5:56
MemberStephen Hewitt9-Oct-11 5:56 
AnswerRe: C/C++ Optimization Pin
Hans Dietrich9-Oct-11 6:38
mentorHans Dietrich9-Oct-11 6:38 
GeneralRe: C/C++ Optimization Pin
«_Superman_»9-Oct-11 17:50
professional«_Superman_»9-Oct-11 17:50 
AnswerRe: C/C++ Optimization Pin
Erudite_Eric9-Oct-11 6:48
MemberErudite_Eric9-Oct-11 6:48 
AnswerRe: C/C++ Optimization Pin
cmk9-Oct-11 9:42
Membercmk9-Oct-11 9: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 4:03
mentorHans Dietrich10-Oct-11 4:03 
GeneralRe: C/C++ Optimization Pin
Randor 10-Oct-11 14:26
professional Randor 10-Oct-11 14:26 
GeneralRe: C/C++ Optimization Pin
cmk12-Oct-11 8:06
Membercmk12-Oct-11 8:06 
QuestionExcel automation. How to save as *.xls with Excel 2010? Pin
Falconapollo8-Oct-11 21:09
MemberFalconapollo8-Oct-11 21:09 
GeneralRe: Excel automation. How to save as *.xls with Excel 2010? Pin
David Crow10-Oct-11 4:31
MemberDavid Crow10-Oct-11 4:31 
Questionhow to specify the compiler search path?(Visual Studio 2005) Pin
Falconapollo8-Oct-11 20:06
MemberFalconapollo8-Oct-11 20:06 
AnswerRe: how to specify the compiler search path?(Visual Studio 2005) Pin
PJ Arends8-Oct-11 21:37
professionalPJ Arends8-Oct-11 21:37 
GeneralRe: how to specify the compiler search path?(Visual Studio 2005) Pin
Falconapollo8-Oct-11 21:40
MemberFalconapollo8-Oct-11 21:40 
AnswerRe: how to specify the compiler search path?(Visual Studio 2005) Pin
Niklas L9-Oct-11 0:14
MemberNiklas L9-Oct-11 0:14 
AnswerRe: how to specify the compiler search path?(Visual Studio 2005) Pin
Richard MacCutchan9-Oct-11 0:21
mveRichard MacCutchan9-Oct-11 0:21 
AnswerRe: how to specify the compiler search path?(Visual Studio 2005) Pin
Luc Pattyn9-Oct-11 0:24
sitebuilderLuc Pattyn9-Oct-11 0:24 
Questionsending SMS in C++ Pin
Hadi Dayvary8-Oct-11 10:00
MemberHadi Dayvary8-Oct-11 10:00 
AnswerRe: sending SMS in C++ Pin
André Kraak8-Oct-11 10:14
MemberAndré Kraak8-Oct-11 10:14 
GeneralRe: sending SMS in C++ Pin
Hadi Dayvary8-Oct-11 11:20
MemberHadi Dayvary8-Oct-11 11:20 
AnswerRe: sending SMS in C++ Pin
Erudite_Eric9-Oct-11 4:48
MemberErudite_Eric9-Oct-11 4:48 
GeneralRe: sending SMS in C++ Pin
Hadi Dayvary9-Oct-11 10:35
MemberHadi Dayvary9-Oct-11 10:35 
QuestionBasic Question About LRESULT Pin
AmbiguousName7-Oct-11 21:30
MemberAmbiguousName7-Oct-11 21: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.