Click here to Skip to main content
15,904,153 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How does the window messages flow in MFC? Pin
vikas amin30-Jan-06 0:39
vikas amin30-Jan-06 0:39 
GeneralRe: How does the window messages flow in MFC? Pin
David Crow30-Jan-06 3:11
David Crow30-Jan-06 3:11 
GeneralRe: How does the window messages flow in MFC? Pin
Eytukan30-Jan-06 3:30
Eytukan30-Jan-06 3:30 
QuestionHow to automatically add lines and scroll in CEdit? Pin
Rostfrei29-Jan-06 21:42
Rostfrei29-Jan-06 21:42 
AnswerRe: How to automatically add lines and scroll in CEdit? Pin
Stephen Hewitt29-Jan-06 22:04
Stephen Hewitt29-Jan-06 22:04 
AnswerRe: How to automatically add lines and scroll in CEdit? Pin
Calc2029-Jan-06 22:05
Calc2029-Jan-06 22:05 
GeneralRe: How to automatically add lines and scroll in CEdit? Pin
Rostfrei29-Jan-06 22:12
Rostfrei29-Jan-06 22:12 
AnswerRe: How to automatically add lines and scroll in CEdit? Pin
Owner drawn29-Jan-06 22:06
Owner drawn29-Jan-06 22:06 
AnswerRe: How to automatically add lines and scroll in CEdit? Pin
David Crow30-Jan-06 3:12
David Crow30-Jan-06 3:12 
QuestionChecking if a user is in a group Pin
kelprinc29-Jan-06 21:12
kelprinc29-Jan-06 21:12 
AnswerRe: Checking if a user is in a group Pin
David Crow30-Jan-06 3:25
David Crow30-Jan-06 3:25 
GeneralRe: Checking if a user is in a group Pin
kelprinc30-Jan-06 3:30
kelprinc30-Jan-06 3:30 
Questiondetecting file access Pin
_kane_29-Jan-06 20:41
_kane_29-Jan-06 20:41 
AnswerRe: detecting file access Pin
Stephen Hewitt29-Jan-06 21:41
Stephen Hewitt29-Jan-06 21:41 
GeneralRe: detecting file access Pin
_kane_29-Jan-06 21:48
_kane_29-Jan-06 21:48 
QuestionImage selection Pin
_anil_29-Jan-06 20:31
_anil_29-Jan-06 20:31 
AnswerRe: Image selection Pin
PJ Arends29-Jan-06 20:47
professionalPJ Arends29-Jan-06 20:47 
GeneralRe: Image selection Pin
_anil_29-Jan-06 20:55
_anil_29-Jan-06 20:55 
GeneralRe: Image selection Pin
_anil_29-Jan-06 21:37
_anil_29-Jan-06 21:37 
QuestionHow to transfer IStream into IDataObject Pin
saravana pandy29-Jan-06 20:23
saravana pandy29-Jan-06 20:23 
Questionwhat is the size of a empty class? Pin
vikas amin29-Jan-06 20:11
vikas amin29-Jan-06 20:11 
AnswerRe: what is the size of a empty class? Pin
Owner drawn29-Jan-06 20:17
Owner drawn29-Jan-06 20:17 
AnswerRe: what is the size of a empty class? Pin
Laxman929-Jan-06 21:26
Laxman929-Jan-06 21:26 
first thing...
The size of the empty class is 1 if it doesn't contains any member variables
else its size is the total bytes required for the variables in that class.

second thing...

if the class contains atleast one virtual function then its size is 2 bytes without member variables

as the object of the class contains the address of the VTABLE.

for the existance of the object the class having minimum 1 byte size.


Thanks and Regards
Laxman

FAILURE is the first step towards SUCCESS Cool | :cool:
GeneralRe: what is the size of a empty class? Pin
vikas amin29-Jan-06 21:56
vikas amin29-Jan-06 21:56 
GeneralRe: what is the size of a empty class? Pin
Laxman930-Jan-06 0:50
Laxman930-Jan-06 0:50 

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.