Click here to Skip to main content
15,877,384 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: virtual function declarations Pin
Cedric Moonen28-Feb-06 20:58
Cedric Moonen28-Feb-06 20:58 
AnswerRe: virtual function declarations Pin
Cedric Moonen28-Feb-06 20:57
Cedric Moonen28-Feb-06 20:57 
AnswerRe: virtual function declarations Pin
Nibu babu thomas28-Feb-06 20:57
Nibu babu thomas28-Feb-06 20:57 
AnswerRe: virtual function declarations Pin
John R. Shaw28-Feb-06 23:03
John R. Shaw28-Feb-06 23:03 
QuestionC++ Pin
yaaqub28-Feb-06 20:04
yaaqub28-Feb-06 20:04 
AnswerRe: C++ Pin
Nibu babu thomas28-Feb-06 20:10
Nibu babu thomas28-Feb-06 20:10 
AnswerRe: C++ Pin
Ryan Binns28-Feb-06 20:11
Ryan Binns28-Feb-06 20:11 
AnswerRe: C++ Pin
_AnsHUMAN_ 28-Feb-06 21:25
_AnsHUMAN_ 28-Feb-06 21:25 
Just to explain so that you can get a clear view of what the difference is:

suppose we have a structure

struct abc
{
int a;
char b;
}a1;
When you try to use the sizeof operator on this, the value will be correctly printed as int of size 2bytes and a char value of 1 byte .
The total size of the structure would thus be 3

On the other hand if you use unions and declare it as

union def{
int a;
char ch;
}u1;
Then the size of operator will show 2. As the memory of variables in a union is shared and the size is of the highest occupant in the union.


Vision is Always important and so is your ATTITUDE.

Wishes.

Anshuman Dandekar

GeneralRe: C++ Pin
David Crow1-Mar-06 3:18
David Crow1-Mar-06 3:18 
GeneralRe: C++ Pin
_AnsHUMAN_ 1-Mar-06 5:03
_AnsHUMAN_ 1-Mar-06 5:03 
GeneralRe: C++ Pin
David Crow1-Mar-06 6:39
David Crow1-Mar-06 6:39 
QuestionIncremental backup of a disk. Pin
ashtwin28-Feb-06 19:36
ashtwin28-Feb-06 19:36 
AnswerRe: Incremental backup of a disk. Pin
David Crow1-Mar-06 3:20
David Crow1-Mar-06 3:20 
Questioncopy file to URL Pin
Anilkumar K V28-Feb-06 19:19
Anilkumar K V28-Feb-06 19:19 
AnswerRe: copy file to URL Pin
vivek.s.vivek28-Feb-06 20:10
vivek.s.vivek28-Feb-06 20:10 
AnswerRe: copy file to URL Pin
David Crow1-Mar-06 3:22
David Crow1-Mar-06 3:22 
QuestionHow to hide standard toolbar in my simple appliation by default? Pin
G Haranadh28-Feb-06 19:05
G Haranadh28-Feb-06 19:05 
AnswerRe: How to hide standard toolbar in my simple appliation by default? Pin
Nibu babu thomas28-Feb-06 19:16
Nibu babu thomas28-Feb-06 19:16 
GeneralRe: How to hide standard toolbar in my simple appliation by default? Pin
G Haranadh28-Feb-06 19:49
G Haranadh28-Feb-06 19:49 
AnswerRe: How to hide standard toolbar in my simple appliation by default? Pin
Cool Ju28-Feb-06 19:47
Cool Ju28-Feb-06 19:47 
QuestionMovePrev() can't works Pin
mikobi28-Feb-06 18:57
mikobi28-Feb-06 18:57 
AnswerRe: MovePrev() can't works Pin
David Crow1-Mar-06 3:27
David Crow1-Mar-06 3:27 
GeneralRe: MovePrev() can't works Pin
mikobi1-Mar-06 20:05
mikobi1-Mar-06 20:05 
GeneralPlease help me Pin
J51219826-Mar-06 19:21
J51219826-Mar-06 19:21 
GeneralRe: Please help me Pin
mikobi6-Mar-06 22:58
mikobi6-Mar-06 22:58 

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.