Click here to Skip to main content
15,916,692 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: motherboard id vedio card id Pin
ThatsAlok1-Mar-06 2:42
ThatsAlok1-Mar-06 2:42 
QuestionQueries !!! Pin
Subramaniam s.V.28-Feb-06 23:06
Subramaniam s.V.28-Feb-06 23:06 
AnswerRe: Queries !!! Pin
toxcct28-Feb-06 23:19
toxcct28-Feb-06 23:19 
AnswerRe: Queries !!! Pin
John R. Shaw1-Mar-06 1:22
John R. Shaw1-Mar-06 1:22 
QuestionMemory Analysis Pin
RadioOpa28-Feb-06 22:56
RadioOpa28-Feb-06 22:56 
AnswerRe: Memory Analysis Pin
John R. Shaw28-Feb-06 23:42
John R. Shaw28-Feb-06 23:42 
GeneralRe: Memory Analysis Pin
RadioOpa28-Feb-06 23:56
RadioOpa28-Feb-06 23:56 
AnswerRe: Memory Analysis Pin
Ryan Binns1-Mar-06 3:07
Ryan Binns1-Mar-06 3:07 
AnswerRe: Memory Analysis Pin
David Crow1-Mar-06 3:15
David Crow1-Mar-06 3:15 
QuestionIP address of the computer using VC++ Pin
mailsafe28-Feb-06 22:51
mailsafe28-Feb-06 22:51 
AnswerRe: IP address of the computer using VC++ Pin
khan++1-Mar-06 0:36
khan++1-Mar-06 0:36 
AnswerRe: IP address of the computer using VC++ Pin
vivek.s.vivek1-Mar-06 0:43
vivek.s.vivek1-Mar-06 0:43 
AnswerRe: IP address of the computer using VC++ Pin
ThatsAlok1-Mar-06 2:45
ThatsAlok1-Mar-06 2:45 
Questionto link MDI interface to a dialog Pin
mailsafe28-Feb-06 22:41
mailsafe28-Feb-06 22:41 
QuestionRe: to link MDI interface to a dialog Pin
Nibu babu thomas1-Mar-06 16:49
Nibu babu thomas1-Mar-06 16:49 
QuestionUsing Sockets in Win32 DLL Pin
castratroi28-Feb-06 21:03
castratroi28-Feb-06 21:03 
Questionvirtual function declarations Pin
lastgen28-Feb-06 20:45
lastgen28-Feb-06 20:45 
I have some code that was generating compile errors. I have found the solution to fix the problem, I'm just not 100% sure I understand what the problem actually is. The (much simplified)code below should help explain the issue. I have created a decendant object from ABC that contains the implementation of function FOO

<br />
<br />
 // This version gives me an unresolved external error<br />
<br />
  class ABC<br />
  {<br />
    public:<br />
      virtual void FOO(BAR& foo);<br />
  };<br />
<br />
 // This version is fine<br />
<br />
  class ABC<br />
  {<br />
    public:<br />
      virtual void FOO(BAR& foo) = 0;<br />
  };<br />


My question is this,
What does the "= 0" indicate?
Why is it needed?

When I die I'd like to go peacefully in my sleep like my father, not screaming in terror like his passengers!!!
AnswerRe: virtual function declarations Pin
lastgen28-Feb-06 20:55
lastgen28-Feb-06 20:55 
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 

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.