Click here to Skip to main content
15,910,787 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HtmlHelp inside DLLs Pin
Blake Miller9-Aug-04 8:15
Blake Miller9-Aug-04 8:15 
GeneralRe: HtmlHelp inside DLLs Pin
brdavid9-Aug-04 10:30
brdavid9-Aug-04 10:30 
GeneralRe: HtmlHelp inside DLLs Pin
Blake Miller10-Aug-04 5:08
Blake Miller10-Aug-04 5:08 
GeneralRe: HtmlHelp inside DLLs Pin
brdavid10-Aug-04 6:33
brdavid10-Aug-04 6:33 
GeneralCustom Appwizard in VC.Net Pin
BlackDice9-Aug-04 4:40
BlackDice9-Aug-04 4:40 
GeneralSQL Server Connection String Pin
shultas9-Aug-04 4:27
shultas9-Aug-04 4:27 
GeneralCPU usage going to 100% full from running a DDE using VC++ Pin
swerajan9-Aug-04 3:53
swerajan9-Aug-04 3:53 
GeneralRe: CPU usage going to 100% full from running a DDE using VC++ Pin
David Crow9-Aug-04 4:00
David Crow9-Aug-04 4:00 
GeneralRe: CPU usage going to 100% full from running a DDE using VC++ Pin
swerajan9-Aug-04 4:03
swerajan9-Aug-04 4:03 
QuestionHow do I read .cda file from a CD? /w Win 32 API Pin
Link26009-Aug-04 3:34
Link26009-Aug-04 3:34 
Generalselection problem --- Pin
nainakhawaja9-Aug-04 2:35
nainakhawaja9-Aug-04 2:35 
GeneralRe: selection problem --- Pin
David Crow9-Aug-04 2:44
David Crow9-Aug-04 2:44 
GeneralRe: selection problem --- Pin
nainakhawaja9-Aug-04 2:52
nainakhawaja9-Aug-04 2:52 
GeneralRe: selection problem --- Pin
Stlan9-Aug-04 3:07
Stlan9-Aug-04 3:07 
GeneralRe: selection problem --- Pin
David Crow9-Aug-04 3:16
David Crow9-Aug-04 3:16 
GeneralRe: selection problem --- Pin
John R. Shaw9-Aug-04 4:08
John R. Shaw9-Aug-04 4:08 
GeneralDream project for D R M receivers Pin
samandmag9-Aug-04 1:59
samandmag9-Aug-04 1:59 
GeneralNon-uniform width button in toolbar Pin
gokings9-Aug-04 1:53
gokings9-Aug-04 1:53 
GeneralRe: Non-uniform width button in toolbar Pin
John R. Shaw9-Aug-04 4:35
John R. Shaw9-Aug-04 4:35 
GeneralRe: Non-uniform width button in toolbar Pin
gokings9-Aug-04 7:39
gokings9-Aug-04 7:39 
Generalsizeof(class) question Pin
kfaday9-Aug-04 1:43
kfaday9-Aug-04 1:43 
GeneralRe: sizeof(class) question Pin
gokings9-Aug-04 1:50
gokings9-Aug-04 1:50 
Adding a static member does not affect the size because a static member does not exist in an object (instantiation) of the class. The memory for the static member is allocated in ONE place, not for each object.

The reason that the size increases when you add a virtual method, is that the object needs a pointer to the VTable. This is a table of pointers, one for each virtual method. This table is specific to your class. Each object of the class will contain a pointer to this VTable. The size of this pointer is 4 bytes.


GeneralRe: sizeof(class) question Pin
kfaday9-Aug-04 13:15
kfaday9-Aug-04 13:15 
GeneralOperator for casting a class to void* Pin
kfaday9-Aug-04 1:40
kfaday9-Aug-04 1:40 
GeneralRe: Overloading Pin
4apai9-Aug-04 1:47
4apai9-Aug-04 1:47 

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.