Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: what is the size of a empty class? Pin
toxcct30-Jan-06 0:44
toxcct30-Jan-06 0:44 
AnswerRe: what is the size of a empty class? Pin
David Crow30-Jan-06 3:40
David Crow30-Jan-06 3:40 
Question2-dimensional arrays Pin
eivanlo29-Jan-06 19:06
eivanlo29-Jan-06 19:06 
AnswerRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 19:16
Owner drawn29-Jan-06 19:16 
GeneralRe: 2-dimensional arrays Pin
eivanlo29-Jan-06 19:26
eivanlo29-Jan-06 19:26 
GeneralRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 19:28
Owner drawn29-Jan-06 19:28 
GeneralRe: 2-dimensional arrays Pin
eivanlo29-Jan-06 19:53
eivanlo29-Jan-06 19:53 
GeneralRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 19:56
Owner drawn29-Jan-06 19:56 
GeneralRe: 2-dimensional arrays Pin
eivanlo29-Jan-06 20:02
eivanlo29-Jan-06 20:02 
GeneralRe: 2-dimensional arrays Pin
Prakash Nadar29-Jan-06 19:57
Prakash Nadar29-Jan-06 19:57 
GeneralRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 20:00
Owner drawn29-Jan-06 20:00 
GeneralRe: 2-dimensional arrays Pin
Prakash Nadar29-Jan-06 20:01
Prakash Nadar29-Jan-06 20:01 
GeneralRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 20:05
Owner drawn29-Jan-06 20:05 
GeneralRe: 2-dimensional arrays Pin
eivanlo29-Jan-06 21:00
eivanlo29-Jan-06 21:00 
GeneralRe: 2-dimensional arrays Pin
Owner drawn29-Jan-06 21:09
Owner drawn29-Jan-06 21:09 

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.