Click here to Skip to main content
15,903,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why am I crashing at the end of the Program Pin
«_Superman_»27-Sep-09 16:28
professional«_Superman_»27-Sep-09 16:28 
AnswerRe: Why am I crashing at the end of the Program Pin
David Crow28-Sep-09 4:05
David Crow28-Sep-09 4:05 
QuestionActiveX dll Qt4.4 update issue.... Pin
hfe087127-Sep-09 4:31
hfe087127-Sep-09 4:31 
QuestionLast modified file time, is it fixed everywhere? Pin
includeh1027-Sep-09 3:13
includeh1027-Sep-09 3:13 
AnswerRe: Last modified file time, is it fixed everywhere? Pin
Saurabh.Garg27-Sep-09 17:44
Saurabh.Garg27-Sep-09 17:44 
QuestionHow to reduce exe size? Pin
includeh1027-Sep-09 2:31
includeh1027-Sep-09 2:31 
AnswerRe: How to reduce exe size? Pin
«_Superman_»27-Sep-09 2:50
professional«_Superman_»27-Sep-09 2:50 
GeneralRe: How to reduce exe size? Pin
sunlin727-Sep-09 2:54
sunlin727-Sep-09 2:54 
GeneralRe: How to reduce exe size? Pin
CPallini27-Sep-09 23:25
mveCPallini27-Sep-09 23:25 
AnswerRe: How to reduce exe size? Pin
sunlin727-Sep-09 2:56
sunlin727-Sep-09 2:56 
GeneralRe: How to reduce exe size? Pin
includeh1027-Sep-09 3:19
includeh1027-Sep-09 3:19 
GeneralRe: How to reduce exe size? Pin
harold aptroot27-Sep-09 4:20
harold aptroot27-Sep-09 4:20 
GeneralRe: How to reduce exe size? Pin
Iain Clarke, Warrior Programmer27-Sep-09 10:40
Iain Clarke, Warrior Programmer27-Sep-09 10:40 
AnswerRe: How to reduce exe size? Pin
Luc Pattyn27-Sep-09 12:20
sitebuilderLuc Pattyn27-Sep-09 12:20 
AnswerRe: How to reduce exe size? Pin
Joe Woodbury27-Sep-09 17:00
professionalJoe Woodbury27-Sep-09 17:00 
AnswerRe: How to reduce exe size? Pin
CPallini27-Sep-09 23:34
mveCPallini27-Sep-09 23:34 
GeneralRe: How to reduce exe size? Pin
includeh1028-Sep-09 5:02
includeh1028-Sep-09 5:02 
QuestionAn unexpected output Pin
carter200027-Sep-09 0:34
carter200027-Sep-09 0:34 
AnswerRe: An unexpected output Pin
N a v a n e e t h27-Sep-09 1:07
N a v a n e e t h27-Sep-09 1:07 
carter2000 wrote:
Why the output is '32', while my expected is '28'.


How are you calculating 28? By adding size of individual members? If yes, see what MSDN is saying.

When the sizeof operator is applied to a class, struct, or union type, the result is the number of bytes in an object of that type, plus any padding added to align members on word boundaries. The result does not necessarily correspond to the size calculated by adding the storage requirements of the individual members.


GeneralRe: An unexpected output Pin
carter200028-Sep-09 4:47
carter200028-Sep-09 4:47 
AnswerRe: An unexpected output Pin
Stuart Dootson27-Sep-09 4:17
professionalStuart Dootson27-Sep-09 4:17 
GeneralRe: An unexpected output Pin
carter200028-Sep-09 4:59
carter200028-Sep-09 4:59 
GeneralRe: An unexpected output Pin
Stuart Dootson28-Sep-09 6:18
professionalStuart Dootson28-Sep-09 6:18 
GeneralRe: An unexpected output Pin
carter200028-Sep-09 16:19
carter200028-Sep-09 16:19 
QuestionFile Creation in share mode in VC++ Pin
neeraja3126-Sep-09 22:34
neeraja3126-Sep-09 22:34 

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.