Re: Declaration and Definition



Sorry, Said the wrong thing, the first sentence should turn to "with
implementation code" in place of "without"
Jack

"Jacky Luk" <jl@xxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:%235z9EtERFHA.576@xxxxxxxxxxxxxxxxxxxxxxx
>I declare a function that is virutal without implementation code in my base
>class, the derived class does not implement it so link error occurs. My
>question is how do you make the base class code swung into action?
>
> class A
> {
> virtual int Run(void);
> };
>
>
> class B : public A
> {
> want to use class A's code, what can be done?
> Thanks
> Jack
>
>
>


.



Relevant Pages

  • Re: Declaration and Definition
    ... implementation code" in place of "without" ... Jack ... the derived class does not implement it so link error occurs. ...
    (microsoft.public.vc.language)
  • Re: Static Casts
    ... Jack wrote: ... And The derived class as COperator ... class CObject ...
    (microsoft.public.vc.language)
  • Declaration and Definition
    ... I declare a function that is virutal without implementation code in my base ... the derived class does not implement it so link error occurs. ...
    (microsoft.public.vc.language)