Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: 'type cast' : cannot convert from 'std::string' to 'char *' Pin
Cedric Moonen22-Apr-07 20:16
Cedric Moonen22-Apr-07 20:16 
AnswerRe: 'type cast' : cannot convert from 'std::string' to 'char *' Pin
prasad_som22-Apr-07 20:17
prasad_som22-Apr-07 20:17 
GeneralRe: 'type cast' : cannot convert from 'std::string' to 'char *' Pin
CPallini22-Apr-07 21:13
mveCPallini22-Apr-07 21:13 
GeneralRe: 'type cast' : cannot convert from 'std::string' to 'char *' Pin
prasad_som22-Apr-07 21:17
prasad_som22-Apr-07 21:17 
QuestionVirtual Tables Pin
ragavan22-Apr-07 20:03
ragavan22-Apr-07 20:03 
AnswerRe: Virtual Tables Pin
vibindia22-Apr-07 20:25
vibindia22-Apr-07 20:25 
GeneralRe: Virtual Tables Pin
ragavan22-Apr-07 20:54
ragavan22-Apr-07 20:54 
GeneralRe: Virtual Tables Pin
Sarath C22-Apr-07 20:59
Sarath C22-Apr-07 20:59 
AFAIK, Virtual Pointer is part of Object which is created on object construction. The first 4 bytes of an object contains (Visual C++) the virtual pointer and this pointe will be linked to vtable of the class.

Virtual Table contains the address of functions of class (per class entity) within the binaries while virtual pointer belongs to each object so in your case there will be one vtable and two vptrs



-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin


GeneralRe: Virtual Tables Pin
Arman S.22-Apr-07 21:04
Arman S.22-Apr-07 21:04 
AnswerRe: Virtual Tables Pin
cmk22-Apr-07 21:01
cmk22-Apr-07 21:01 
AnswerRe: Virtual Tables Pin
Hamid_RT25-Apr-07 7:38
Hamid_RT25-Apr-07 7:38 
QuestionError C2061: syntax error : identifier 'StdDDECallback' Pin
Pankaj.Jain22-Apr-07 19:26
professionalPankaj.Jain22-Apr-07 19:26 
AnswerRe: Error C2061: syntax error : identifier 'StdDDECallback' Pin
prasad_som22-Apr-07 19:47
prasad_som22-Apr-07 19:47 
AnswerRe: Error C2061: syntax error : identifier 'StdDDECallback' Pin
Karismatic22-Apr-07 19:48
Karismatic22-Apr-07 19:48 
Questioncode standardise Pin
deeps_cute22-Apr-07 17:31
deeps_cute22-Apr-07 17:31 
AnswerRe: code standardise Pin
_AnsHUMAN_ 22-Apr-07 18:40
_AnsHUMAN_ 22-Apr-07 18:40 
GeneralRe: code standardise Pin
deeps_cute22-Apr-07 19:50
deeps_cute22-Apr-07 19:50 
GeneralRe: code standardise Pin
_AnsHUMAN_ 22-Apr-07 20:40
_AnsHUMAN_ 22-Apr-07 20:40 
GeneralRe: code standardise Pin
jeron123-Apr-07 7:08
jeron123-Apr-07 7:08 
QuestionDAO database Pin
dec8222-Apr-07 17:09
dec8222-Apr-07 17:09 
AnswerRe: DAO database Pin
Mark Salsbery23-Apr-07 6:37
Mark Salsbery23-Apr-07 6:37 
Questionerror C2440 Pin
Aint22-Apr-07 16:45
Aint22-Apr-07 16:45 
AnswerRe: error C2440 Pin
David Crow22-Apr-07 17:03
David Crow22-Apr-07 17:03 
GeneralRe: error C2440 Pin
Aint22-Apr-07 17:43
Aint22-Apr-07 17:43 
GeneralRe: error C2440 Pin
David Crow23-Apr-07 3:11
David Crow23-Apr-07 3:11 

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.