Re: Declaration and Definition
- From: "Jacky Luk" <jl@xxxxxxxxxx>
- Date: Tue, 19 Apr 2005 03:19:03 +0800
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
>
>
>
.
- Follow-Ups:
- Re: Declaration and Definition
- From: Victor Bazarov
- Re: Declaration and Definition
- References:
- Declaration and Definition
- From: Jacky Luk
- Declaration and Definition
- Prev by Date: Declaration and Definition
- Next by Date: Re: Declaration and Definition
- Previous by thread: Declaration and Definition
- Next by thread: Re: Declaration and Definition
- Index(es):
Relevant Pages
|