Click here to Skip to main content
16,004,895 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Extract Icon - nIconIndex ?? Pin
Programm3r9-May-07 23:22
Programm3r9-May-07 23:22 
Questionre:Draging Image over dialogBox Pin
rjkg9-May-07 20:23
rjkg9-May-07 20:23 
AnswerRe: re:Draging Image over dialogBox Pin
ThatsAlok16-May-07 21:10
ThatsAlok16-May-07 21:10 
QuestionPDF Viewer ActiveX Control Pin
Midhun_M9-May-07 19:46
Midhun_M9-May-07 19:46 
AnswerRe: PDF Viewer ActiveX Control Pin
Programm3r9-May-07 19:56
Programm3r9-May-07 19:56 
QuestionRe: PDF Viewer ActiveX Control Pin
Midhun_M9-May-07 23:32
Midhun_M9-May-07 23:32 
QuestionCopy Constructor Pin
ragavan9-May-07 19:31
ragavan9-May-07 19:31 
AnswerRe: Copy Constructor Pin
Stephen Hewitt9-May-07 19:40
Stephen Hewitt9-May-07 19:40 
ragavan wrote:
1. A(const A x)
{
}

If the argument x is passed by value a copy is needed. This is the job of the copy constructor. Therefore we'd need to call the copy constructor to copy the argument to the copy constructor, and so on, endlessly recursively.


ragavan wrote:
2. A(const A* x)
{
}

Because an object itself need copying, not the object indirected through a pointer. It could have worked this was but it doesn't make as much sense.

Steve

AnswerRe: Copy Constructor Pin
Nemanja Trifunovic10-May-07 1:30
Nemanja Trifunovic10-May-07 1:30 
AnswerRe: Copy Constructor Pin
ThatsAlok16-May-07 21:10
ThatsAlok16-May-07 21:10 
QuestionRun an exe Pin
saisp9-May-07 19:13
saisp9-May-07 19:13 
AnswerRe: Run an exe Pin
Hamid_RT9-May-07 19:28
Hamid_RT9-May-07 19:28 
GeneralRe: Run an exe Pin
saisp9-May-07 19:46
saisp9-May-07 19:46 
GeneralRe: Run an exe Pin
Hamid_RT9-May-07 19:49
Hamid_RT9-May-07 19:49 
AnswerRe: Run an exe Pin
Paresh Chitte9-May-07 19:49
Paresh Chitte9-May-07 19:49 
QuestionRe: Run an exe Pin
David Crow10-May-07 2:10
David Crow10-May-07 2:10 
AnswerRe: Run an exe Pin
ThatsAlok16-May-07 21:08
ThatsAlok16-May-07 21:08 
QuestionSendMessage to Worker thread Pin
Ajay L D9-May-07 19:04
Ajay L D9-May-07 19:04 
AnswerRe: SendMessage to Worker thread Pin
kvrnkiran9-May-07 19:13
kvrnkiran9-May-07 19:13 
GeneralRe: SendMessage to Worker thread Pin
ThatsAlok16-May-07 21:08
ThatsAlok16-May-07 21:08 
AnswerRe: SendMessage to Worker thread Pin
Stephen Hewitt9-May-07 19:34
Stephen Hewitt9-May-07 19:34 
AnswerRe: SendMessage to Worker thread Pin
SandipG 9-May-07 22:57
SandipG 9-May-07 22:57 
GeneralRe: SendMessage to Worker thread Pin
Ajay L D10-May-07 6:10
Ajay L D10-May-07 6:10 
AnswerRe: SendMessage to Worker thread Pin
ThatsAlok16-May-07 21:07
ThatsAlok16-May-07 21:07 
QuestionA DirectX Question Pin
Rom Manic9-May-07 18:01
Rom Manic9-May-07 18:01 

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.